Class: Duracloud::Commands::GetStorageReportForAllSpaces

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

Instance Method Summary collapse

Methods inherited from Command

call, #cli

Instance Method Details

#callObject



4
5
6
7
8
9
# File 'lib/duracloud/commands/get_storage_report_for_all_spaces.rb', line 4

def call
  Duracloud::StorageReports.for_all_spaces_in_a_store(store_id: store_id).each do |report|
    puts "-"*40
    puts report.to_s
  end
end