Sha256: 0db2dfa4156d97b20d11aaac2d5f282b46bb48cdaf5e158bb67e536c03c575cc

Contents?: true

Size: 213 Bytes

Versions: 5

Compression:

Stored size: 213 Bytes

Contents

module Duracloud::Commands
  class GetStorageReportForSpace < Command

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

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
duracloud-client-0.10.2 lib/duracloud/commands/get_storage_report_for_space.rb
duracloud-client-0.10.1 lib/duracloud/commands/get_storage_report_for_space.rb
duracloud-client-0.10.0 lib/duracloud/commands/get_storage_report_for_space.rb
duracloud-client-0.9.1 lib/duracloud/commands/get_storage_report_for_space.rb
duracloud-client-0.9.0 lib/duracloud/commands/get_storage_report_for_space.rb