Class: BunBun::Client::StorageZone::Statistics
- Inherits:
-
Namespace
- Object
- Namespace
- BunBun::Client::StorageZone::Statistics
show all
- Defined in:
- lib/bunbun/client/storage_zone/statistics.rb
Instance Method Summary
collapse
Methods inherited from Namespace
#initialize, #inspect
Instance Method Details
#get(id, date_from: nil, date_to: nil) ⇒ Object
2
3
4
5
6
7
8
9
|
# File 'lib/bunbun/client/storage_zone/statistics.rb', line 2
def get(id, date_from: nil, date_to: nil)
params = {
dateFrom: date_from,
dateTo: date_to
}
@client.get(BunBun::URI.join("/storagezone/#{id}/statistics", params))
end
|