Module: Chef::Mixin::VersionedAPI

Included in:
Cookbook::ManifestV0, Cookbook::ManifestV2
Defined in:
lib/chef/mixin/versioned_api.rb

Instance Method Summary collapse

Instance Method Details

#minimum_api_version(version = nil) ⇒ Object



22
23
24
25
26
27
28
# File 'lib/chef/mixin/versioned_api.rb', line 22

def minimum_api_version(version = nil)
  if version
    @minimum_api_version = version
  else
    @minimum_api_version
  end
end