Exception: Purdie::MetadataException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service, message) ⇒ MetadataException

Returns a new instance of MetadataException.



22
23
24
25
# File 'lib/purdie/exceptions.rb', line 22

def initialize service, message
  @service = service
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



20
21
22
# File 'lib/purdie/exceptions.rb', line 20

def message
  @message
end

#serviceObject (readonly)

Returns the value of attribute service.



20
21
22
# File 'lib/purdie/exceptions.rb', line 20

def service
  @service
end