plivo 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/plivo.rb +5 -0
- metadata +15 -25
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2be7a0281e8506383fa9e8012e596299ffb4d807
|
4
|
+
data.tar.gz: 97c3b877203b0b5aaa788bc8073cb20cbf6e4046
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1d0b0f90b91e7da7884752d9e7b4319beea49d2ac2184f7707984f664f7f6e788d180886d6237427f23d1d97844948da236088605be348375a778f9620330953
|
7
|
+
data.tar.gz: a41e2f4e4125c4130da1ea4a56b29e42d0b20acbb6e8025115dfca7bddfef8957e970ab7693b65becaadd2ac5faf8a10945872dd753934fa057fffac2c3324dd
|
data/lib/plivo.rb
CHANGED
@@ -262,6 +262,11 @@ module Plivo
|
|
262
262
|
params.update({"text" => HTMLEntities.new(:html4).encode(params['text'], :decimal)})
|
263
263
|
return request('POST', "/Call/#{call_uuid}/Speak/", params)
|
264
264
|
end
|
265
|
+
|
266
|
+
def stop_speak(params={})
|
267
|
+
call_uuid = params.delete('call_uuid')
|
268
|
+
return request('DELETE', "/Call/#{call_uuid}/Speak/", params)
|
269
|
+
end
|
265
270
|
|
266
271
|
def send_digits(params={})
|
267
272
|
call_uuid = params.delete('call_uuid')
|
metadata
CHANGED
@@ -1,78 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plivo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.8
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Plivo Inc
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-10-23 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: builder
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 2.1.2
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 2.1.2
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rest-client
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 1.6.7
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 1.6.7
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: json
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: 1.6.6
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 1.6.6
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: htmlentities
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: 4.3.1
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: 4.3.1
|
78
69
|
description: A Ruby gem for interacting with the Plivo Cloud Platform
|
@@ -89,26 +80,25 @@ files:
|
|
89
80
|
homepage: http://www.plivo.com
|
90
81
|
licenses:
|
91
82
|
- MIT
|
83
|
+
metadata: {}
|
92
84
|
post_install_message:
|
93
85
|
rdoc_options: []
|
94
86
|
require_paths:
|
95
87
|
- lib
|
96
88
|
required_ruby_version: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
89
|
requirements:
|
99
|
-
- -
|
90
|
+
- - '>='
|
100
91
|
- !ruby/object:Gem::Version
|
101
92
|
version: '0'
|
102
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
|
-
none: false
|
104
94
|
requirements:
|
105
|
-
- -
|
95
|
+
- - '>='
|
106
96
|
- !ruby/object:Gem::Version
|
107
97
|
version: '0'
|
108
98
|
requirements: []
|
109
99
|
rubyforge_project:
|
110
|
-
rubygems_version: 1.
|
100
|
+
rubygems_version: 2.1.9
|
111
101
|
signing_key:
|
112
|
-
specification_version:
|
102
|
+
specification_version: 4
|
113
103
|
summary: A Ruby gem for communicating with the Plivo Cloud Platform
|
114
104
|
test_files: []
|