Class: Batchly::Request::DelimitedFileRequest
- Defined in:
- lib/batchly-sdk/request/delimited_request.rb
Overview
DelimitedFileRequest is a type of request that supports csv and other delmited type of source files Request holds the fields as an array. The fields are column values from a single row
Instance Attribute Summary collapse
-
#content_path ⇒ Object
Path for loading additional content - Path to container from where code is executed
string. -
#fields ⇒ Object
Fields contain the individual columns of a delimited row
array. -
#id ⇒ Object
Unique id of the Unit of Work
string. -
#parameters ⇒ Object
parameters that has been configured in portal
hashTable.
Instance Method Summary collapse
-
#initialize(id = nil, parameters = nil, fields = nil, content_path = nil) ⇒ DelimitedFileRequest
constructor
A new instance of DelimitedFileRequest.
Constructor Details
#initialize(id = nil, parameters = nil, fields = nil, content_path = nil) ⇒ DelimitedFileRequest
Returns a new instance of DelimitedFileRequest.
11 12 13 14 15 16 |
# File 'lib/batchly-sdk/request/delimited_request.rb', line 11 def initialize(id = nil, parameters = nil, fields = nil, content_path = nil) @id = id @parameters = parameters @fields = fields @content_path = content_path end |
Instance Attribute Details
#content_path ⇒ Object
Path for loading additional content - Path to container from where code is executed string
29 30 31 |
# File 'lib/batchly-sdk/request/delimited_request.rb', line 29 def content_path @content_path end |
#fields ⇒ Object
Fields contain the individual columns of a delimited row array
25 26 27 |
# File 'lib/batchly-sdk/request/delimited_request.rb', line 25 def fields @fields end |
#id ⇒ Object
Unique id of the Unit of Work string
19 20 21 |
# File 'lib/batchly-sdk/request/delimited_request.rb', line 19 def id @id end |
#parameters ⇒ Object
parameters that has been configured in portal hashTable
22 23 24 |
# File 'lib/batchly-sdk/request/delimited_request.rb', line 22 def parameters @parameters end |