Class: Duracloud::Commands::GetStorageReportForStore

Inherits:
Command
  • Object
show all
Defined in:
lib/duracloud/commands/get_storage_report_for_store.rb

Instance Method Summary collapse

Methods inherited from Command

call, #cli

Instance Method Details

#callObject



4
5
6
7
# File 'lib/duracloud/commands/get_storage_report_for_store.rb', line 4

def call
  reports = Duracloud::StorageReports.by_store(store_id: store_id)
  puts reports.last.to_s
end