Class: Tikkie::Api::Resources::Payments
- Includes:
- Enumerable
- Defined in:
- lib/tikkie/api/resources/payments.rb
Overview
Resource for Payments.
Instance Attribute Summary collapse
-
#payment_request_token ⇒ Object
readonly
Returns the value of attribute payment_request_token.
Attributes inherited from List
Attributes inherited from Base
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(config, options = {}) ⇒ Payments
constructor
A new instance of Payments.
Methods inherited from List
#next, #next_page, #next_page?, #previous, #previous_page, #previous_page?, #total_elements, #total_pages
Methods inherited from Base
#delete, #load, #loaded?, #save
Constructor Details
#initialize(config, options = {}) ⇒ Payments
Returns a new instance of Payments.
12 13 14 15 |
# File 'lib/tikkie/api/resources/payments.rb', line 12 def initialize(config, = {}) @payment_request_token = .delete(:payment_request_token) super(config, ) end |
Instance Attribute Details
#payment_request_token ⇒ Object (readonly)
Returns the value of attribute payment_request_token.
10 11 12 |
# File 'lib/tikkie/api/resources/payments.rb', line 10 def payment_request_token @payment_request_token end |
Instance Method Details
#each(&block) ⇒ Object
17 18 19 |
# File 'lib/tikkie/api/resources/payments.rb', line 17 def each(&block) payments.each(&block) end |