Sha256: a0726ff07ea9b41eb0e2326597f54db59923bca2e11646de6c4862eac74be05f
Contents?: true
Size: 700 Bytes
Versions: 2
Compression:
Stored size: 700 Bytes
Contents
module Chartmogul module V1 class Import::Invoices < Chartmogul::V1::Base BASE_URI = "#{BASE_URI}/import/customers" # Public: Import Invoices. # # See: https://dev.chartmogul.com/docs/invoices # # customer_id - The String/Integer ChartMogul ID of the customer. # Specified as part of the URL. # options - The Hash options used to create a Invoices (default: {}). # # Returns the instance of Chartmogul::V1::Request. def create(customer_id, **options) Chartmogul::V1::Request.new "#{BASE_URI}/#{customer_id}/invoices", options.merge(method: :post, userpwd: client.userpwd) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chartmogul_client-0.0.3 | lib/chartmogul/v1/import/invoices.rb |
chartmogul_client-0.0.2 | lib/chartmogul/v1/import/invoices.rb |