Class: Batchly::Response::FileResponse

Inherits:
IResponse
  • Object
show all
Defined in:
lib/batchly-sdk/response/file_response.rb

Overview

FileResponse is the type of response to return when you generate a file output Batchly Agent automatically takes the output file and sends it to the right destination(s) The destinations are configured from the portal and is processor independent Destinations are attached at the Job Level. The processor is reusable across many jobs without knowing the source and destination

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Unique id of the Unit of Work string



14
15
16
# File 'lib/batchly-sdk/response/file_response.rb', line 14

def id
  @id
end

#is_duplicateObject

Duplicate message that can be deleted without any post processing boolean



25
26
27
# File 'lib/batchly-sdk/response/file_response.rb', line 25

def is_duplicate
  @is_duplicate
end

#is_processing_successObject

Status of the processing boolean



17
18
19
# File 'lib/batchly-sdk/response/file_response.rb', line 17

def is_processing_success
  @is_processing_success
end

#locationsObject

locations of the ouptut files on disk Array One full path per output file. Disk File Name is used as file name for response. E.g.:- C:ProcessedOutputFile1.png - Saved to storage as File.Png



22
23
24
# File 'lib/batchly-sdk/response/file_response.rb', line 22

def locations
  @locations
end