Sha256: ec313705ed3e2b36aa4a0f34c0029d49f7457e512a63de6d7de1e388a07e4d2f

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

# encoding: utf-8
# frozen_string_literal: true

# Dependencies
require 'faraday'
require 'json'
require 'active_support'
require 'active_support/core_ext/string'
require 'hashie'

module Zuora
  API_URL = 'https://api.zuora.com/rest/v1/'
  SANDBOX_URL = 'https://apisandbox-api.zuora.com/rest/v1/'
  NAMESPACES = {
    'xmlns:soapenv' => 'http://schemas.xmlsoap.org/soap/envelope/',
    'xmlns:api' => 'http://api.zuora.com/',
    'xmlns:obj' => 'http://object.api.zuora.com/',
    'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance'
  }.freeze

  RESPONSE_NAMESPACES = NAMESPACES.merge(
    'xmlns:ns1' => 'http://api.zuora.com/',
    'xmlns:ns2' => 'http://object.api.zuora.com/'
  ).freeze

  RETRY_WAITING_PERIOD = 120 # seconds
end

require_relative 'zuora/version'
require_relative 'zuora/errors'
require_relative 'zuora/utils/envelope'
require_relative 'zuora/client'
require_relative 'zuora/rest'
require_relative 'zuora/soap'
require_relative 'zuora/object'
require_relative 'zuora/dispatcher'
require_relative 'zuora/response'

require_relative 'zuora/calls/upsert'

require_relative 'zuora/calls/amend'
require_relative 'zuora/calls/create'
require_relative 'zuora/calls/delete'
require_relative 'zuora/calls/generate'
require_relative 'zuora/calls/login'
require_relative 'zuora/calls/query'
require_relative 'zuora/calls/query_more'
require_relative 'zuora/calls/subscribe'
require_relative 'zuora/calls/update'

Version data entries

1 entries across 1 versions & 1 rubygems

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