Sha256: df536e24a4162afe86b224144df34efb2aba2bfe21aa5a7569c609e07e25dabf

Contents?: true

Size: 400 Bytes

Versions: 6

Compression:

Stored size: 400 Bytes

Contents

module ChargeBee
  class CustomerEntitlement < Model

  attr_accessor :customer_id, :subscription_id, :feature_id, :value, :name, :is_enabled

  # OPERATIONS
  #-----------

  def self.entitlements_for_customer(id, params={}, env=nil, headers={})
    Request.send('get', uri_path("customers",id.to_s,"customer_entitlements"), params, env, headers)
  end

  end # ~CustomerEntitlement
end # ~ChargeBee

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chargebee-2.47.0.beta.1 lib/chargebee/models/customer_entitlement.rb
chargebee-2.46.0 lib/chargebee/models/customer_entitlement.rb
chargebee-2.45.0 lib/chargebee/models/customer_entitlement.rb
chargebee-2.44.1 lib/chargebee/models/customer_entitlement.rb
chargebee-2.44.0 lib/chargebee/models/customer_entitlement.rb
chargebee-2.43.0 lib/chargebee/models/customer_entitlement.rb