Exception: Purdie::LicenseException

Inherits:
Exception
  • Object
show all
Defined in:
lib/purdie/license_manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service, name) ⇒ LicenseException

Returns a new instance of LicenseException.



34
35
36
37
# File 'lib/purdie/license_manager.rb', line 34

def initialize service, name
  @service = service
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



32
33
34
# File 'lib/purdie/license_manager.rb', line 32

def name
  @name
end

#serviceObject (readonly)

Returns the value of attribute service.



32
33
34
# File 'lib/purdie/license_manager.rb', line 32

def service
  @service
end