Class: ChargeBee::PersonalizedOffer
- Defined in:
- lib/chargebee/models/personalized_offer.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#id ⇒ Object
Returns the value of attribute id.
-
#offer_id ⇒ Object
Returns the value of attribute offer_id.
-
#options ⇒ Object
Returns the value of attribute options.
Class Method Summary collapse
-
.personalized_offers(params, env = nil, headers = {}) ⇒ Object
OPERATIONS ———–.
Methods inherited from Model
construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #respond_to_missing?, #to_s, uri_path
Constructor Details
This class inherits a constructor from ChargeBee::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ChargeBee::Model
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
12 13 14 |
# File 'lib/chargebee/models/personalized_offer.rb', line 12 def content @content end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/chargebee/models/personalized_offer.rb', line 12 def id @id end |
#offer_id ⇒ Object
Returns the value of attribute offer_id.
12 13 14 |
# File 'lib/chargebee/models/personalized_offer.rb', line 12 def offer_id @offer_id end |
#options ⇒ Object
Returns the value of attribute options.
12 13 14 |
# File 'lib/chargebee/models/personalized_offer.rb', line 12 def end |
Class Method Details
.personalized_offers(params, env = nil, headers = {}) ⇒ Object
OPERATIONS
17 18 19 20 21 22 23 |
# File 'lib/chargebee/models/personalized_offer.rb', line 17 def self.personalized_offers(params, env=nil, headers={}) jsonKeys = { :custom => 0, } = {} Request.send('post', uri_path("personalized_offers"), params, env, headers, "grow", true, jsonKeys, ) end |