Module: Qwirk::Batch::FileWorker::ClassMethods
- Defined in:
- lib/qwirk/batch/file_worker.rb
Instance Method Summary collapse
-
#file(options) ⇒ Object
Define the marshaling and time_to_live that will occur on the response.
- #file_options ⇒ Object
- #marshal(marshal_type) ⇒ Object
- #marshal_type ⇒ Object
- #queue(name, opts = {}) ⇒ Object
- #queue_name ⇒ Object
- #reply_queue_name ⇒ Object
Instance Method Details
#file(options) ⇒ Object
Define the marshaling and time_to_live that will occur on the response
30 31 32 |
# File 'lib/qwirk/batch/file_worker.rb', line 30 def file() @file_options = end |
#file_options ⇒ Object
34 35 36 |
# File 'lib/qwirk/batch/file_worker.rb', line 34 def @file_options end |
#marshal(marshal_type) ⇒ Object
38 39 40 |
# File 'lib/qwirk/batch/file_worker.rb', line 38 def marshal(marshal_type) @marshal_type = marshal_type end |
#marshal_type ⇒ Object
42 43 44 |
# File 'lib/qwirk/batch/file_worker.rb', line 42 def marshal_type @marshal_type end |
#queue(name, opts = {}) ⇒ Object
46 47 48 49 |
# File 'lib/qwirk/batch/file_worker.rb', line 46 def queue(name, opts={}) @queue_name = name @reply_queue_name = opts[:reply_queue] end |
#queue_name ⇒ Object
51 52 53 |
# File 'lib/qwirk/batch/file_worker.rb', line 51 def queue_name @queue_name end |
#reply_queue_name ⇒ Object
55 56 57 |
# File 'lib/qwirk/batch/file_worker.rb', line 55 def reply_queue_name @reply_queue_name end |