bot_mob 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 983346edacc2db6076a7ba621d90d7d0d94237e9
4
- data.tar.gz: 1d755d5d4503e6c9566b2c6216500974a05d8fd0
3
+ metadata.gz: d0c6ed54d0ab9e2378f1ee184855fd74ff132bc9
4
+ data.tar.gz: 8265cc5c06648e6894a7742d0f0b8e0c946689ad
5
5
  SHA512:
6
- metadata.gz: 7cf9f98830e091d36c28e724ed52f8f8c35ba6b38bf0536e92150bff68f5aeb14b37cbf2344bb287befa106c882cddac96b2a89d8498c604468c8d9a40a09a18
7
- data.tar.gz: 7759297b12eed2c389ae360305063857046f00c32e9ca147057fe61a5c3ed2f5b4adf8dcdc28496a4a1c8515a4a53fd4938c3bc15f94387751f113f89eb02ff5
6
+ metadata.gz: c5796d20a7f3f69d326458d67b6921d2098af02e291d86be0e1b580a8ae5b7af4f682d6c1c38d629c1d402a907e5a68db1f53bb32bda7816f689f7671d17b52e
7
+ data.tar.gz: 2547b4c13441f9b9c19f369bcafcdf28f8cdc01b8c2ec2392ff4c7bbd60bd948e5f5362241a0506cf4b2bff5c797919476d6be4b9990e31d49e3b10a24c71a15
@@ -1,4 +1,6 @@
1
1
  module BotMob
2
+ class InvalidNetworkError < StandardError; end
3
+
2
4
  class Ambassador
3
5
  NETWORKS = [:slack]
4
6
 
@@ -29,13 +29,13 @@ module BotMob
29
29
  })
30
30
 
31
31
  @oauth_response = response.bot
32
- rescue Slack::Web::Api::Error => e
32
+ rescue ::Slack::Web::Api::Error => e
33
33
  puts e.message
34
34
  nil
35
35
  end
36
36
 
37
37
  def client
38
- @client ||= Slack::Web::Client.new
38
+ @client ||= ::Slack::Web::Client.new
39
39
  end
40
40
  end
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module BotMob
2
- VERSION = '0.1.5'.freeze
2
+ VERSION = '0.1.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bot_mob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Werner