Sha256: 14bd85904eb3b297646594cc4fb53fd37beb51b7e0173150d90208e609078ac8

Contents?: true

Size: 203 Bytes

Versions: 5

Compression:

Stored size: 203 Bytes

Contents

module Duracloud::Commands
  class GetStorageReportForStore < Command

    def call
      reports = Duracloud::StorageReports.by_store(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_store.rb
duracloud-client-0.10.1 lib/duracloud/commands/get_storage_report_for_store.rb
duracloud-client-0.10.0 lib/duracloud/commands/get_storage_report_for_store.rb
duracloud-client-0.9.1 lib/duracloud/commands/get_storage_report_for_store.rb
duracloud-client-0.9.0 lib/duracloud/commands/get_storage_report_for_store.rb