Sha256: 0d5d08dd313f75b97c8d5d51bf0dfe96c80680110e7aab5fc6983e4a7168aa34

Contents?: true

Size: 406 Bytes

Versions: 17

Compression:

Stored size: 406 Bytes

Contents

module ChargeBee
  class Addon < Model

  attr_accessor :id, :name, :invoice_name, :type, :charge_type, :price, :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

17 entries across 17 versions & 1 rubygems

Version Path
chargebee-1.2.0 lib/chargebee/models/addon.rb
chargebee-1.1.9 lib/chargebee/models/addon.rb
chargebee-1.1.8 lib/chargebee/models/addon.rb
chargebee-1.1.7 lib/chargebee/models/addon.rb
chargebee-1.1.6 lib/chargebee/models/addon.rb
chargebee-1.1.5 lib/chargebee/models/addon.rb
chargebee-1.1.4 lib/chargebee/models/addon.rb
chargebee-1.1.3 lib/chargebee/models/addon.rb
chargebee-1.1.2 lib/chargebee/models/addon.rb
chargebee-1.1.1 lib/chargebee/models/addon.rb
chargebee-1.1.0 lib/chargebee/models/addon.rb
chargebee-1.0.9 lib/chargebee/models/addon.rb
chargebee-1.0.8 lib/chargebee/models/addon.rb
chargebee-1.0.7 lib/chargebee/models/addon.rb
chargebee-1.0.6 lib/chargebee/models/addon.rb
chargebee-1.0.5 lib/chargebee/models/addon.rb
chargebee-1.0.4 lib/chargebee/models/addon.rb