bobik 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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