Module: Requeus
- Defined in:
- lib/requeus/adapter/rabbit.rb,
lib/requeus.rb,
lib/requeus/impl.rb,
lib/requeus/queue.rb,
lib/requeus/server.rb,
lib/requeus/railtie.rb,
lib/requeus/request.rb,
lib/requeus/adapter/s3.rb,
lib/requeus/blob_store.rb,
lib/requeus/adapter/sqs.rb,
lib/requeus/adapter/filesystem.rb
Overview
todo: schedule ‘recover’ action to mimic SQS behaviour
Defined Under Namespace
Modules: Adapter Classes: BlobStore, Impl, Queue, Railtie, Request, Server
Class Method Summary collapse
- .config_path=(path) ⇒ Object
-
.request(queue, method, path, params = {}, extra_args = {}) ⇒ Object
extra_args can be :headers :force_endpoint.
- .start_workers ⇒ Object
Class Method Details
.config_path=(path) ⇒ Object
24 25 26 |
# File 'lib/requeus.rb', line 24 def config_path= path; Requeus::Impl.instance.config_path = path; end |
.request(queue, method, path, params = {}, extra_args = {}) ⇒ Object
extra_args can be :headers :force_endpoint
14 15 16 17 18 |
# File 'lib/requeus.rb', line 14 def request queue, method, path, params = {}, extra_args = {} headers = extra_args[:headers] || {} force_endpoint = extra_args[:force_endpoint] Requeus::Impl.instance.request queue, method, path, params, headers, force_endpoint end |