Class: Conekta::Plan
- Inherits:
-
Resource
- Object
- Hash
- ConektaObject
- Resource
- Conekta::Plan
- Includes:
- Operations::Create, Operations::CreateMember, Operations::CustomAction, Operations::Delete, Operations::Find, Operations::Update, Operations::Where
- Defined in:
- lib/conekta/plan.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#expiry_count ⇒ Object
Returns the value of attribute expiry_count.
-
#frequency ⇒ Object
Returns the value of attribute frequency.
-
#interval ⇒ Object
Returns the value of attribute interval.
-
#livemode ⇒ Object
Returns the value of attribute livemode.
-
#name ⇒ Object
Returns the value of attribute name.
-
#trial_period_days ⇒ Object
Returns the value of attribute trial_period_days.
Attributes inherited from Resource
Attributes inherited from ConektaObject
Method Summary
Methods included from Operations::CreateMember
Methods included from Operations::CustomAction
Methods included from Operations::Update
Methods included from Operations::Delete
Methods included from Operations::Create
Methods included from Operations::Where
handle_type_of_paging, included
Methods included from Operations::Find
Methods inherited from Resource
#_url, _url, #create_member_with_relation, #initialize, underscored_class
Methods inherited from ConektaObject
#class_name, class_name, #create_attr, #first, #initialize, #inspect, #last, #load_from, #set_val, #to_s, #unset_key
Constructor Details
This class inherits a constructor from Conekta::Resource
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
11 12 13 |
# File 'lib/conekta/plan.rb', line 11 def amount @amount end |
#created_at ⇒ Object
Returns the value of attribute created_at.
11 12 13 |
# File 'lib/conekta/plan.rb', line 11 def created_at @created_at end |
#currency ⇒ Object
Returns the value of attribute currency.
11 12 13 |
# File 'lib/conekta/plan.rb', line 11 def currency @currency end |
#expiry_count ⇒ Object
Returns the value of attribute expiry_count.
11 12 13 |
# File 'lib/conekta/plan.rb', line 11 def expiry_count @expiry_count end |
#frequency ⇒ Object
Returns the value of attribute frequency.
11 12 13 |
# File 'lib/conekta/plan.rb', line 11 def frequency @frequency end |
#interval ⇒ Object
Returns the value of attribute interval.
11 12 13 |
# File 'lib/conekta/plan.rb', line 11 def interval @interval end |
#livemode ⇒ Object
Returns the value of attribute livemode.
11 12 13 |
# File 'lib/conekta/plan.rb', line 11 def livemode @livemode end |
#name ⇒ Object
Returns the value of attribute name.
11 12 13 |
# File 'lib/conekta/plan.rb', line 11 def name @name end |
#trial_period_days ⇒ Object
Returns the value of attribute trial_period_days.
11 12 13 |
# File 'lib/conekta/plan.rb', line 11 def trial_period_days @trial_period_days end |