Method: Rubytter::APIError#initialize
- Defined in:
- lib/rubytter.rb
#initialize(msg, response = nil) ⇒ APIError
Returns a new instance of APIError.
16 17 18 19 |
# File 'lib/rubytter.rb', line 16 def initialize(msg, response = nil) super(msg) @response = response end |