Sha256: 4745c9c51ad41d433802d54e318504115fb6d88f694e955bed397161f3410de7

Contents?: true

Size: 386 Bytes

Versions: 5

Compression:

Stored size: 386 Bytes

Contents

module Duracloud::Commands
  class GetStorageReport < Command

    def call
      delegate_to = if space_id
                      GetStorageReportForSpace
                    elsif all_spaces
                      GetStorageReportForAllSpaces
                    else
                      GetStorageReportForStore
                    end
      delegate_to.call(cli)
    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.rb
duracloud-client-0.10.1 lib/duracloud/commands/get_storage_report.rb
duracloud-client-0.10.0 lib/duracloud/commands/get_storage_report.rb
duracloud-client-0.9.1 lib/duracloud/commands/get_storage_report.rb
duracloud-client-0.9.0 lib/duracloud/commands/get_storage_report.rb