class ChefCLI::Policyfile::CookbookLocationSpecification
def initialize(name, version_constraint, source_options, storage_config)
def initialize(name, version_constraint, source_options, storage_config) @name = name @version_constraint = Semverse::Constraint.new(version_constraint) @source_options = source_options @source_type = SOURCE_TYPES.find { |type| source_options.key?(type) } @storage_config = storage_config end