Sha256: 71f0e72a373c4afd5bccf138ce63219c40f5f9ab13d8ee94a6678c4d3f7198ac

Contents?: true

Size: 820 Bytes

Versions: 1

Compression:

Stored size: 820 Bytes

Contents

module Chartmogul
  module V1
    class Import < Base
      BASE_URI = "#{BASE_URI}/import"

      # Public: Get customers API.
      #
      # Returns the instance of Chartmogul::V1::Import::Customers.
      def customers
        Chartmogul::V1::Import::Customers.new(client)
      end

      # Public: Get plans API.
      #
      # Returns the instance of Chartmogul::V1::Import::Plans.
      def plans
        Chartmogul::V1::Import::Plans.new(client)
      end

      # Public: Get subscriptions API.
      #
      # Returns the instance of Chartmogul::V1::Import::Subscriptions.
      def subscriptions
        Chartmogul::V1::Import::Subscriptions.new(client)
      end

    end
  end
end

require 'chartmogul/v1/import/customers'
require 'chartmogul/v1/import/plans'
require 'chartmogul/v1/import/subscriptions'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chartmogul_client-0.0.6 lib/chartmogul/v1/import.rb