Class: Batchly::Request::QueueRequest
- Defined in:
- lib/batchly-sdk/request/queue_request.rb
Overview
QueueRequest is a type of request that supports pub/sub or queue sources Request holds the content of a single message
Instance Attribute Summary collapse
-
#content ⇒ Object
Path for content
string
. -
#content_path ⇒ Object
Path for loading additional content - Path to container from where code is executed
string
. -
#id ⇒ Object
id for the Unit of Work
string
. -
#parameters ⇒ Object
Values for parameters configured via UI
hashTable
.
Instance Method Summary collapse
-
#initialize(id = nil, parameters = nil, content = nil, content_path = nil) ⇒ QueueRequest
constructor
A new instance of QueueRequest.
Constructor Details
#initialize(id = nil, parameters = nil, content = nil, content_path = nil) ⇒ QueueRequest
Returns a new instance of QueueRequest.
12 13 14 15 16 17 |
# File 'lib/batchly-sdk/request/queue_request.rb', line 12 def initialize(id = nil, parameters = nil, content = nil, content_path = nil ) @id = id @parameters = parameters @content = content @content_path = content_path end |
Instance Attribute Details
#content ⇒ Object
Path for content string
26 27 28 |
# File 'lib/batchly-sdk/request/queue_request.rb', line 26 def content @content end |
#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/queue_request.rb', line 29 def content_path @content_path end |
#id ⇒ Object
id for the Unit of Work string
20 21 22 |
# File 'lib/batchly-sdk/request/queue_request.rb', line 20 def id @id end |
#parameters ⇒ Object
Values for parameters configured via UI hashTable
23 24 25 |
# File 'lib/batchly-sdk/request/queue_request.rb', line 23 def parameters @parameters end |