Exception: Fandango::BadResponse

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

Instance Method Summary collapse

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