Class: Duracloud::Commands::GetStorageReportForSpace
- Inherits:
-
Command
- Object
- SimpleDelegator
- Command
- Duracloud::Commands::GetStorageReportForSpace
- Defined in:
- lib/duracloud/commands/get_storage_report_for_space.rb
Instance Method Summary collapse
Methods inherited from Command
Instance Method Details
#call ⇒ Object
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 |