Sha256: 80f9fd1e01abc2ee9e23bd569929a0e9c0205d9c0ad88e8bab384a77884302be

Contents?: true

Size: 540 Bytes

Versions: 1

Compression:

Stored size: 540 Bytes

Contents

# frozen_string_literal: true

module Zuora
  module Rest
    API_URL = 'https://api.zuora.com/rest/v1/'
    SANDBOX_URL = 'https://apisandbox-api.zuora.com/rest/v1/'

    # Unable to connect. Check username / password
    ConnectionError = Class.new Errors::GenericError

    # Non-success response
    class ErrorResponse < Errors::GenericError
      attr_reader :response

      def initialize(message = nil, response = nil)
        super(message)
        @response = response
      end
    end
  end
end

require_relative 'rest/client'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zuora-ruby-0.7.0 lib/zuora/rest.rb