Sha256: 2cf16e0e02edd37360719984ba8dcd606164fef616ea647455e91828b0a7fc5a
Contents?: true
Size: 921 Bytes
Versions: 39
Compression:
Stored size: 921 Bytes
Contents
module ChargeBee class ItemEntitlement < Model attr_accessor :id, :item_id, :item_type, :feature_id, :feature_name, :value, :name # OPERATIONS #----------- def self.item_entitlements_for_item(id, params={}, env=nil, headers={}) Request.send('get', uri_path("items",id.to_s,"item_entitlements"), params, env, headers) end def self.item_entitlements_for_feature(id, params={}, env=nil, headers={}) Request.send('get', uri_path("features",id.to_s,"item_entitlements"), params, env, headers) end def self.add_item_entitlements(id, params, env=nil, headers={}) Request.send('post', uri_path("features",id.to_s,"item_entitlements"), params, env, headers) end def self.upsert_or_remove_item_entitlements_for_item(id, params, env=nil, headers={}) Request.send('post', uri_path("items",id.to_s,"item_entitlements"), params, env, headers) end end # ~ItemEntitlement end # ~ChargeBee
Version data entries
39 entries across 39 versions & 1 rubygems