Class: ThreeScale::ServerError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ServerError
constructor
A new instance of ServerError.
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
#response ⇒ Object (readonly)
Returns the value of attribute response.
20 21 22 |
# File 'lib/3scale/client.rb', line 20 def response @response end |