Sha256: faa42e30a516cbb5e930cbd37c669b3ac006a8ef0c7746ce242a91147ce9dfd0

Contents?: true

Size: 1.25 KB

Versions: 21

Compression:

Stored size: 1.25 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, possibly because a value was submitted as a number rather than as a string.'.freeze

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

  TOO_MANY_REQUESTS = 'The rate limit has been exceeded.'.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

21 entries across 21 versions & 1 rubygems

Version Path
smartystreets_ruby_sdk-5.20.3 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.20.2 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.19.0 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.18.1 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.18.0 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.17.2 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.17.1 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.17.0 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.16.2 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.16.1 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.16.0 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.15.4 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.15.3 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.15.2 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.15.1 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.15.0 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.14.22 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.14.19 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.14.18 lib/smartystreets_ruby_sdk/errors.rb
smartystreets_ruby_sdk-5.14.17 lib/smartystreets_ruby_sdk/errors.rb