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