Exception: Seibii::Http::ClientError
- Inherits:
-
StandardError
- Object
- StandardError
- Seibii::Http::ClientError
- Defined in:
- lib/seibii/http.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ClientError
constructor
A new instance of ClientError.
Constructor Details
#initialize(response) ⇒ ClientError
Returns a new instance of ClientError.
13 14 15 16 |
# File 'lib/seibii/http.rb', line 13 def initialize(response) super @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
11 12 13 |
# File 'lib/seibii/http.rb', line 11 def response @response end |