Class: FileInventoryRequest

Inherits:
InventoryRequest show all
Defined in:
app/models/file_inventory_request.rb

Constant Summary

Constants inherited from InventoryRequest

InventoryRequest::COMPLETED, InventoryRequest::FAILED, InventoryRequest::PENDING, InventoryRequest::STALE

Instance Method Summary collapse

Methods inherited from InventoryRequest

#complete?, #failed?

Instance Method Details

#expiration_dateObject



7
8
9
# File 'app/models/file_inventory_request.rb', line 7

def expiration_date
  completion_time + 7.days
end

#output_fileObject



3
4
5
# File 'app/models/file_inventory_request.rb', line 3

def output_file
  request_details["output_file"]
end