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:



529
530
531
# File 'lib/dropbox/api.rb', line 529

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