Exception: EverboxClient::UnknownResponseException

Inherits:
Exception
  • Object
show all
Defined in:
lib/everbox_client/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ UnknownResponseException

Returns a new instance of UnknownResponseException.



5
6
7
# File 'lib/everbox_client/exceptions.rb', line 5

def initialize(response)
  super("unknown response code: #{response.code}\n#{response.body}")
end