Exception: Fandango::BadResponse
- Inherits:
-
StandardError
- Object
- StandardError
- Fandango::BadResponse
- Defined in:
- lib/fandango.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ BadResponse
constructor
A new instance of BadResponse.
Constructor Details
#initialize(response) ⇒ BadResponse
Returns a new instance of BadResponse.
45 46 47 |
# File 'lib/fandango.rb', line 45 def initialize(response) super "Bad response:\n#{response.inspect}" end |