Exception: Likeno::Errors::RequestError
- Defined in:
- lib/likeno/errors/request_error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(attributes = {}) ⇒ RequestError
Returns a new instance of RequestError.
21 22 23 |
# File 'lib/likeno/errors/request_error.rb', line 21 def initialize(attributes = {}) @response = attributes[:response] end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
19 20 21 |
# File 'lib/likeno/errors/request_error.rb', line 19 def response @response end |