Sha256: 542723b0bec3583cbc7f11cbb3afc1a42b4ff4676a521fd6329bd8e83ce5f509

Contents?: true

Size: 431 Bytes

Versions: 11

Compression:

Stored size: 431 Bytes

Contents

module ChargeBee
  class Addon < Model

  attr_accessor :id, :name, :invoice_name, :type, :charge_type, :price, :period, :period_unit,
  :unit, :status, :archived_at

  # OPERATIONS
  #-----------
    
  def self.list(params={}, env=nil)
    Request.send('get', "/addons", params, env)
  end    

  def self.retrieve(id, env=nil)
    Request.send('get', "/addons/#{id.to_s}", {}, env)
  end    

  end # ~Addon
end # ~ChargeBee    

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
chargebee-1.3.1 lib/chargebee/models/addon.rb
chargebee-1.3.0 lib/chargebee/models/addon.rb
chargebee-1.2.9 lib/chargebee/models/addon.rb
chargebee-1.2.8 lib/chargebee/models/addon.rb
chargebee-1.2.7 lib/chargebee/models/addon.rb
chargebee-1.2.6 lib/chargebee/models/addon.rb
chargebee-1.2.5 lib/chargebee/models/addon.rb
chargebee-1.2.4 lib/chargebee/models/addon.rb
chargebee-1.2.3 lib/chargebee/models/addon.rb
chargebee-1.2.2 lib/chargebee/models/addon.rb
chargebee-1.2.1 lib/chargebee/models/addon.rb