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.
Files changed (3) hide show
  1. data/lib/bobik/client.rb +1 -0
  2. data/lib/bobik/error.rb +1 -0
  3. metadata +1 -1
@@ -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
@@ -1,3 +1,4 @@
1
1
  module Bobik
2
+ # A base class for all Bobik-specific errors
2
3
  class Error < StandardError; end
3
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bobik
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: