Use an attr_reader snapshot variable for artifactory_snapshot resource provider; Remove private methods in artifactory_snapshot library.