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
126
|
# File 'lib/afconwave.rb', line 126
def create(**data); @client.request(method: 'POST', path: '/payments', data: data); end
|
#list(**params) ⇒ Object
128
|
# File 'lib/afconwave.rb', line 128
def list(**params); @client.request(method: 'GET', path: '/payments', params: params); end
|
#retrieve(id) ⇒ Object
127
|
# File 'lib/afconwave.rb', line 127
def retrieve(id); @client.request(method: 'GET', path: "/payments/#{id}"); end
|