Class: ChefLicensing::Context::Local

Inherits:
State
  • Object
show all
Defined in:
lib/chef-licensing/context.rb

Overview

Implement various behaviors, associated with a state of the Context.

Instance Attribute Summary

Attributes inherited from State

#context, #options

Instance Method Summary collapse

Methods inherited from State

#license, #license=

Instance Method Details

#license_keysObject



113
114
115
# File 'lib/chef-licensing/context.rb', line 113

def license_keys
  @license_keys ||= ChefLicensing::Api::ListLicenses.info || []
end