Sha256: da6d135dcfd65bfb2bc3645923bc3e932a2d246d0465b3e6c2b803d50b2d89c9

Contents?: true

Size: 1.27 KB

Versions: 11

Compression:

Stored size: 1.27 KB

Contents

module SmartyStreets
  BAD_CREDENTIALS = 'Unauthorized: The credentials were provided incorrectly or did not match any existing,
 active credentials.'.freeze

  PAYMENT_REQUIRED = 'Payment Required: There is no active subscription
 for the account associated with the credentials submitted with the request.'.freeze

  FORBIDDEN = 'Because the international service is currently in a limited release phase, only approved accounts' \
            ' may access the service.'.freeze

  REQUEST_ENTITY_TOO_LARGE = 'Request Entity Too Large: The request body has exceeded the maximum size.'.freeze

  BAD_REQUEST = 'Bad Request (Malformed Payload): A GET request lacked a street field or the request body of a
 POST request contained malformed JSON.'.freeze

  UNPROCESSABLE_ENTITY = 'GET request lacked required fields.'.freeze

  TOO_MANY_REQUESTS = 'When using public "website key" authentication,
we restrict the number of requests coming from a given source over too short of a time.'.freeze

  INTERNAL_SERVER_ERROR = 'Internal Server Error.'.freeze

  SERVICE_UNAVAILABLE = 'Service Unavailable. Try again later.'.freeze

  GATEWAY_TIMEOUT = 'The upstream data provider did not respond in a timely fashion and the request failed. ' \
                  'A serious, yet rare occurrence indeed.'.freeze
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
smartystreets_ruby_sdk-5.3.0 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.2.2 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.2.1 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.2.0 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.1.1 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.1.0 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.0.0 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-4.2.0 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-4.1.3 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-4.0.1 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-4.0.0 lib/smartystreets_ruby_sdk/errors.rb