Class: ShedCloud::PartnerApi::Resources::Payments
- Inherits:
-
Base
- Object
- Base
- ShedCloud::PartnerApi::Resources::Payments
show all
- Defined in:
- lib/shedcloud/partner_api/resources/payments.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#get(id) ⇒ Object
11
12
13
|
# File 'lib/shedcloud/partner_api/resources/payments.rb', line 11
def get(id)
@http.request('GET', "/partner/v1/payments/#{path_segment(id)}") || {}
end
|
#list(params = {}) ⇒ Object
7
8
9
|
# File 'lib/shedcloud/partner_api/resources/payments.rb', line 7
def list(params = {})
@http.request('GET', '/partner/v1/payments', query: params) || {}
end
|