Class: Paymill::Base
- Inherits:
-
Object
- Object
- Paymill::Base
- Extended by:
- Restful::All, Restful::Create, Restful::Find
- Defined in:
- lib/paymill/models/base.rb
Direct Known Subclasses
Client, Offer, Payment, Preauthorization, Refund, Subscription, Transaction, Webhook
Instance Attribute Summary collapse
-
#app_id ⇒ Object
readonly
Returns the value of attribute app_id.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
Instance Method Summary collapse
-
#initialize(json) ⇒ Base
constructor
A new instance of Base.
Methods included from Restful::All
Methods included from Restful::Find
Methods included from Restful::Create
Constructor Details
#initialize(json) ⇒ Base
Returns a new instance of Base.
9 10 11 12 |
# File 'lib/paymill/models/base.rb', line 9 def initialize( json ) deserialize( json ) end |
Instance Attribute Details
#app_id ⇒ Object (readonly)
Returns the value of attribute app_id.
7 8 9 |
# File 'lib/paymill/models/base.rb', line 7 def app_id @app_id end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
7 8 9 |
# File 'lib/paymill/models/base.rb', line 7 def created_at @created_at end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
7 8 9 |
# File 'lib/paymill/models/base.rb', line 7 def id @id end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
7 8 9 |
# File 'lib/paymill/models/base.rb', line 7 def updated_at @updated_at end |