Sha256: fbda0deab8db6451768e6e9d2996be04f280ffe0b185d8549daf71f47c44e00f
Contents?: true
Size: 837 Bytes
Versions: 2
Compression:
Stored size: 837 Bytes
Contents
module Chartmogul module V1 class Import::Plans < Chartmogul::V1::Base BASE_URI = "#{BASE_URI}/import/plans" # Public: Import a Plan. # # See: https://dev.chartmogul.com/docs/import-plan # # options - The Hash options used to create a Plan (default: {}). # # Returns the instance of Chartmogul::V1::Request. def create(options = {}) Chartmogul::V1::Request.new(BASE_URI, body: options, method: :post, userpwd: client.userpwd, ) end # Public: Get list Plans. # # See: https://dev.chartmogul.com/docs/list-all-imported-plans # # Returns the instance of Chartmogul::V1::Request. def list Chartmogul::V1::Request.new BASE_URI, userpwd: client.userpwd end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chartmogul_client-0.0.6 | lib/chartmogul/v1/import/plans.rb |
chartmogul_client-0.0.5 | lib/chartmogul/v1/import/plans.rb |