Sha256: 61187bcb49a89f2a8b97621966901fb8ce6b399891955875ac5129c47ed24d6a
Contents?: true
Size: 484 Bytes
Versions: 16
Compression:
Stored size: 484 Bytes
Contents
module DropboxApi::Errors class TooManyRequestsError < BasicError; end class TooManyWriteOperationsError < TooManyRequestsError; end class TooManyRequestsError attr_accessor :retry_after def self.build(message, metadata) subtype, metadata = find_subtype metadata subtype.new(message, metadata) end ErrorSubtypes = { :too_many_requests => TooManyRequestsError, :too_many_write_operations => TooManyWriteOperationsError } end end
Version data entries
16 entries across 16 versions & 1 rubygems