Exception: Mailgun::CommunicationError

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) ⇒ CommunicationError

Returns a new instance of CommunicationError.



14
15
16
# File 'lib/mailgun/exceptions/exceptions.rb', line 14

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

Instance Attribute Details

#objectObject (readonly)

Returns the value of attribute object.



12
13
14
# File 'lib/mailgun/exceptions/exceptions.rb', line 12

def object
  @object
end