Sha256: 9752157ad89f4df12ebb6b6e994cd23d16d63cba0dd5019cc3aca7996689a591
Contents?: true
Size: 583 Bytes
Versions: 3
Compression:
Stored size: 583 Bytes
Contents
module ChartMogul class Plan < APIResource set_resource_name 'Plan' set_resource_path '/v1/plans' set_resource_root_key :plans readonly_attr :uuid writeable_attr :name writeable_attr :interval_count writeable_attr :interval_unit writeable_attr :external_id writeable_attr :data_source_uuid include API::Actions::All include API::Actions::Create include API::Actions::Update include API::Actions::Destroy include API::Actions::Custom def self.retrieve(uuid) custom!(:get, "/v1/plans/#{uuid}") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chartmogul-ruby-1.0.2 | lib/chartmogul/plan.rb |
chartmogul-ruby-1.0.1 | lib/chartmogul/plan.rb |
chartmogul-ruby-1.0.0 | lib/chartmogul/plan.rb |