plivo 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/plivo.rb +4 -4
- metadata +8 -8
data/lib/plivo.rb
CHANGED
@@ -145,7 +145,7 @@ module Plivo
|
|
145
145
|
|
146
146
|
def rent_number(params={})
|
147
147
|
number = params.delete("number")
|
148
|
-
return request('POST', "/AvailableNumber/#{number}/")
|
148
|
+
return request('POST', "/AvailableNumber/#{number}/", params)
|
149
149
|
end
|
150
150
|
|
151
151
|
def unrent_number(params={})
|
@@ -299,7 +299,7 @@ module Plivo
|
|
299
299
|
def deaf_member(params={})
|
300
300
|
conference_name = params.delete('conference_name')
|
301
301
|
member_id = params.delete('member_id')
|
302
|
-
return request('POST', "/Conference/#{conference_name}/Member/#{member_id}/Deaf/")
|
302
|
+
return request('POST', "/Conference/#{conference_name}/Member/#{member_id}/Deaf/", params)
|
303
303
|
end
|
304
304
|
|
305
305
|
def undeaf_member(params={})
|
@@ -311,7 +311,7 @@ module Plivo
|
|
311
311
|
def mute_member(params={})
|
312
312
|
conference_name = params.delete('conference_name')
|
313
313
|
member_id = params.delete('member_id')
|
314
|
-
return request('POST', "/Conference/#{conference_name}/Member/#{member_id}/Mute/")
|
314
|
+
return request('POST', "/Conference/#{conference_name}/Member/#{member_id}/Mute/", params)
|
315
315
|
end
|
316
316
|
|
317
317
|
def unmute_member(params={})
|
@@ -323,7 +323,7 @@ module Plivo
|
|
323
323
|
def kick_member(params={})
|
324
324
|
conference_name = params.delete('conference_name')
|
325
325
|
member_id = params.delete('member_id')
|
326
|
-
return request('POST', "/Conference/#{conference_name}/Member/#{member_id}/Kick/")
|
326
|
+
return request('POST', "/Conference/#{conference_name}/Member/#{member_id}/Kick/", params)
|
327
327
|
end
|
328
328
|
|
329
329
|
def record_conference(params={})
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plivo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: builder
|
16
|
-
requirement: &
|
16
|
+
requirement: &20717940 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 2.1.2
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *20717940
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rest-client
|
27
|
-
requirement: &
|
27
|
+
requirement: &20715780 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.6.7
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *20715780
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: json
|
38
|
-
requirement: &
|
38
|
+
requirement: &20712520 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: 1.6.6
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *20712520
|
47
47
|
description: A Ruby gem for interacting with the Plivo Platform
|
48
48
|
email: support@plivo.com
|
49
49
|
executables: []
|