Module: DurableCall

Defined in:
lib/durable_call.rb,
lib/durable_call/caller.rb,
lib/durable_call/version.rb

Defined Under Namespace

Classes: Caller, RetriesError

Constant Summary collapse

TimeoutError =
Timeout::Error
VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.call(subject, args, options = {}) ⇒ Object



5
6
7
# File 'lib/durable_call.rb', line 5

def self.call(subject, args, options={})
  DurableCall::Caller.new(subject, options).call(*Array(args))
end