Class: ThreeScale::ServerError

Inherits:
Error
  • Object
show all
Defined in:
lib/3scale/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ServerError

Returns a new instance of ServerError.



15
16
17
18
# File 'lib/3scale/client.rb', line 15

def initialize(response)
  super('server error')
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



20
21
22
# File 'lib/3scale/client.rb', line 20

def response
  @response
end