Method: ChefLicensing::Context::State#license
- Defined in:
- lib/chef-licensing/context.rb
#license ⇒ Object
Get license context in local or global state
95 96 97 98 99 100 101 |
# File 'lib/chef-licensing/context.rb', line 95 def license if license_keys.empty? @license ||= nil else @license ||= ChefLicensing.client(license_keys: license_keys) end end |