verboice 0.1.0 → 0.1.1

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 (2) hide show
  1. data/lib/verboice.rb +4 -0
  2. metadata +3 -3
data/lib/verboice.rb CHANGED
@@ -27,5 +27,9 @@ class Verboice
27
27
  def call address, channel = @default_channel
28
28
  self.class.get "#{@url}/api/call", :query => {:channel => channel, :address => address}, :basic_auth => @auth
29
29
  end
30
+
31
+ def call_state id
32
+ self.class.get "#{@url}/api/call/#{id}/state", :basic_auth => @auth
33
+ end
30
34
 
31
35
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: verboice
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - InSTEDD