Class: FileInventoryRequest

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

Constant Summary

Constants inherited from UserRequest

UserRequest::COMPLETED, UserRequest::PENDING, UserRequest::STALE

Instance Method Summary collapse

Methods inherited from UserRequest

#complete?

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