Exception: Fandango::API::BadResponse

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fandango/api.rb

Direct Known Subclasses

MoviesNear::BadResponse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ BadResponse

Returns a new instance of BadResponse.



8
9
10
# File 'lib/fandango/api.rb', line 8

def initialize(response)
  super "Bad response:\n#{response.inspect}"
end