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