Class: ChargeBee::PricingPageSession
- Defined in:
- lib/chargebee/models/pricing_page_session.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#expires_at ⇒ Object
Returns the value of attribute expires_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
- .create_for_existing_subscription(params, env = nil, headers = {}) ⇒ Object
-
.create_for_new_subscription(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, #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
#created_at ⇒ Object
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/chargebee/models/pricing_page_session.rb', line 4 def created_at @created_at end |
#expires_at ⇒ Object
Returns the value of attribute expires_at.
4 5 6 |
# File 'lib/chargebee/models/pricing_page_session.rb', line 4 def expires_at @expires_at end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/chargebee/models/pricing_page_session.rb', line 4 def id @id end |
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/chargebee/models/pricing_page_session.rb', line 4 def url @url end |
Class Method Details
.create_for_existing_subscription(params, env = nil, headers = {}) ⇒ Object
13 14 15 |
# File 'lib/chargebee/models/pricing_page_session.rb', line 13 def self.create_for_existing_subscription(params, env=nil, headers={}) Request.send('post', uri_path("pricing_page_sessions","create_for_existing_subscription"), params, env, headers) end |
.create_for_new_subscription(params, env = nil, headers = {}) ⇒ Object
OPERATIONS
9 10 11 |
# File 'lib/chargebee/models/pricing_page_session.rb', line 9 def self.create_for_new_subscription(params, env=nil, headers={}) Request.send('post', uri_path("pricing_page_sessions","create_for_new_subscription"), params, env, headers) end |