Class: ApRubySdk::Plan
- Inherits:
-
ApiResource
- Object
- BaseModel
- ApiResource
- ApRubySdk::Plan
- Defined in:
- lib/ap_ruby_sdk/plan.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#description ⇒ Object
Returns the value of attribute description.
-
#interval ⇒ Object
Returns the value of attribute interval.
-
#name ⇒ Object
Returns the value of attribute name.
-
#period ⇒ Object
Returns the value of attribute period.
Attributes inherited from ApiResource
Attributes inherited from BaseModel
#created, #id, #mode, #updated
Class Method Summary collapse
Methods included from ApiOperations::List
Methods included from ApiOperations::Retrieve
Methods included from ApiOperations::Create
Methods inherited from ApiResource
construct_object, url_with_prefix
Methods inherited from BaseModel
#attributes=, #initialize, #to_json
Constructor Details
This class inherits a constructor from ApRubySdk::BaseModel
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
7 8 9 |
# File 'lib/ap_ruby_sdk/plan.rb', line 7 def amount @amount end |
#currency ⇒ Object
Returns the value of attribute currency.
7 8 9 |
# File 'lib/ap_ruby_sdk/plan.rb', line 7 def currency @currency end |
#description ⇒ Object
Returns the value of attribute description.
7 8 9 |
# File 'lib/ap_ruby_sdk/plan.rb', line 7 def description @description end |
#interval ⇒ Object
Returns the value of attribute interval.
7 8 9 |
# File 'lib/ap_ruby_sdk/plan.rb', line 7 def interval @interval end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/ap_ruby_sdk/plan.rb', line 7 def name @name end |
#period ⇒ Object
Returns the value of attribute period.
7 8 9 |
# File 'lib/ap_ruby_sdk/plan.rb', line 7 def period @period end |
Class Method Details
.list_members ⇒ Object
18 19 20 |
# File 'lib/ap_ruby_sdk/plan.rb', line 18 def self.list_members :plans end |
.url ⇒ Object
14 15 16 |
# File 'lib/ap_ruby_sdk/plan.rb', line 14 def self.url '/plans' end |