Sha256: 1ca56164ab08484ee6de2cc521f9ad24abf2d6f548a2cbce6ef2b36d717a474b

Contents?: true

Size: 471 Bytes

Versions: 22

Compression:

Stored size: 471 Bytes

Contents

module ChargeBee
  class Entitlement < Model

  attr_accessor :id, :entity_id, :entity_type, :feature_id, :feature_name, :value, :name

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

  def self.list(params={}, env=nil, headers={})
    Request.send_list_request('get', uri_path("entitlements"), params, env, headers)
  end

  def self.create(params, env=nil, headers={})
    Request.send('post', uri_path("entitlements"), params, env, headers)
  end

  end # ~Entitlement
end # ~ChargeBee

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
chargebee-2.49.0 lib/chargebee/models/entitlement.rb
chargebee-2.48.0 lib/chargebee/models/entitlement.rb
chargebee-2.47.1 lib/chargebee/models/entitlement.rb
chargebee-2.47.0 lib/chargebee/models/entitlement.rb
chargebee-2.47.0.beta.1 lib/chargebee/models/entitlement.rb
chargebee-2.46.0 lib/chargebee/models/entitlement.rb
chargebee-2.45.0 lib/chargebee/models/entitlement.rb
chargebee-2.44.1 lib/chargebee/models/entitlement.rb
chargebee-2.44.0 lib/chargebee/models/entitlement.rb
chargebee-2.43.0 lib/chargebee/models/entitlement.rb
chargebee-2.42.0 lib/chargebee/models/entitlement.rb
chargebee-2.41.0 lib/chargebee/models/entitlement.rb
chargebee-2.40.0 lib/chargebee/models/entitlement.rb
chargebee-2.38.1 lib/chargebee/models/entitlement.rb
chargebee-2.38.0 lib/chargebee/models/entitlement.rb
chargebee-2.37.1 lib/chargebee/models/entitlement.rb
chargebee-2.37.0 lib/chargebee/models/entitlement.rb
chargebee-2.36.2 lib/chargebee/models/entitlement.rb
chargebee-2.36.1 lib/chargebee/models/entitlement.rb
chargebee-2.36.0 lib/chargebee/models/entitlement.rb