Class: ChefLicensing::Context::State

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

Direct Known Subclasses

Global, Local

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#contextObject

Returns the value of attribute context.



67
68
69
# File 'lib/chef-licensing/context.rb', line 67

def context
  @context
end

#optionsObject

Returns the value of attribute options.



67
68
69
# File 'lib/chef-licensing/context.rb', line 67

def options
  @options
end

Instance Method Details

#license_keysObject

This method is abstract.

Raises:

  • (NotImplementedError)


70
71
72
# File 'lib/chef-licensing/context.rb', line 70

def license_keys
  raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'"
end