Exception: Mailgun::ParseError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/mailgun/exceptions/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, object = nil) ⇒ ParseError

Returns a new instance of ParseError.



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

def initialize(message=nil, object=nil)
  @object = object
end

Instance Attribute Details

#objectObject (readonly)

Returns the value of attribute object.



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

def object
  @object
end