Exception: Dropbox::UnsuccessfulResponseError

Inherits:
APIError show all
Defined in:
lib/dropbox/api.rb

Overview

Raised when something other than 200 OK is returned by an API method.

Instance Attribute Summary

Attributes inherited from APIError

#request, #response

Instance Method Summary collapse

Methods inherited from APIError

#initialize

Constructor Details

This class inherits a constructor from Dropbox::APIError

Instance Method Details

#to_sObject

:nodoc:


574
575
576
# File 'lib/dropbox/api.rb', line 574

def to_s # :nodoc:
  "HTTP status #{@response.class.to_s} received: #{request}"
end