verboice 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/verboice.rb +4 -0
- 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