Class: HiEnergyAi::Resources::Exports
Constant Summary
HiEnergyAi::Resource::UNSET
Instance Method Summary
collapse
#initialize
Instance Method Details
#create(attributes = UNSET, **params) ⇒ Object
14
15
16
17
|
# File 'lib/hi_energy_ai/resources/exports.rb', line 14
def create(attributes = UNSET, **params)
body_attrs, query = split_attributes(attributes, params)
post("/exports", params: query, body: body_attrs)
end
|
#find(id, **params) ⇒ Object
10
11
12
|
# File 'lib/hi_energy_ai/resources/exports.rb', line 10
def find(id, **params)
get("/exports/#{id}", params: params)
end
|
#list(**params) ⇒ Object
6
7
8
|
# File 'lib/hi_energy_ai/resources/exports.rb', line 6
def list(**params)
get("/exports", params: params)
end
|