Class: Duracloud::Commands::GetStorageReportForSpace

Inherits:
Command
  • Object
show all
Defined in:
lib/duracloud/commands/get_storage_report_for_space.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_space.rb', line 4

def call
  reports = Duracloud::StorageReports.by_space(space_id, store_id: store_id)
  puts reports.last.to_s
end