Exception: Rubyflare::ConnectionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubyflare.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ ConnectionError

Returns a new instance of ConnectionError.


11
12
13
14
# File 'lib/rubyflare.rb', line 11

def initialize(message, response)
  super(message)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response


10
11
12
# File 'lib/rubyflare.rb', line 10

def response
  @response
end