Exception: Rubytter::APIError
- Inherits:
-
StandardError
- Object
- StandardError
- Rubytter::APIError
- Defined in:
- lib/rubytter.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(msg, response = nil) ⇒ APIError
constructor
A new instance of APIError.
Constructor Details
#initialize(msg, response = nil) ⇒ APIError
Returns a new instance of APIError.
17 18 19 20 |
# File 'lib/rubytter.rb', line 17 def initialize(msg, response = nil) super(msg) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
16 17 18 |
# File 'lib/rubytter.rb', line 16 def response @response end |