bobik 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bobik/client.rb +1 -0
- data/lib/bobik/error.rb +1 -0
- metadata +1 -1
data/lib/bobik/client.rb
CHANGED
@@ -12,6 +12,7 @@ module Bobik
|
|
12
12
|
# * :auth_token - [required] authentication token
|
13
13
|
# * :timeout_ms - [optional] when to stop waiting for the job to finish
|
14
14
|
# * :logger - [optional] any logger that conforms to the Log4r interface
|
15
|
+
# Be aware that Timeout::Error may be thrown.
|
15
16
|
def initialize(opts)
|
16
17
|
@auth_token = opts[:auth_token] || raise(Error.new("'auth_token' was not provided"))
|
17
18
|
@timeout_ms = opts[:timeout_ms] || 60000
|
data/lib/bobik/error.rb
CHANGED