Class: AfconWave::Resource::Payments
- Inherits:
-
Base
- Object
- Base
- AfconWave::Resource::Payments
show all
- Defined in:
- lib/afconwave.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#create(**data) ⇒ Object
119
|
# File 'lib/afconwave.rb', line 119
def create(**data); @client.request(method: 'POST', path: '/payments', data: data); end
|
#list(**params) ⇒ Object
121
|
# File 'lib/afconwave.rb', line 121
def list(**params); @client.request(method: 'GET', path: '/payments', params: params); end
|
#retrieve(id) ⇒ Object
120
|
# File 'lib/afconwave.rb', line 120
def retrieve(id); @client.request(method: 'GET', path: "/payments/#{id}"); end
|