plivo 0.3.15 → 0.3.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -20
- data/lib/plivo.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 376010d8ceaf62c8f43a7fc95595ab3ccd260ff5
|
4
|
+
data.tar.gz: c21c5e1edcac05e73fd9852fc647c62fbab5af35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98098f6d1a08359b9103d8bc01763560bdd0c868579d80886fd53053c05a711578f3f0d83c9501c0fc6b589c051df52c420dcbf4fdad0b7513b56b7ae91112ba
|
7
|
+
data.tar.gz: 315c7b3aecdd23f27b52754ebc7c97f1d2c29b317d65cef9119c2de46860f6f8d2e862f3c65b3f1883f549cb6dfc6575010fa861629b6ffc869fa3fb49557a81
|
data/README.md
CHANGED
@@ -1,25 +1,21 @@
|
|
1
|
-
Plivo Ruby Library
|
2
|
-
---------------------------
|
1
|
+
# Plivo Ruby Library
|
3
2
|
|
4
3
|
[![Gem Version](https://badge.fury.io/rb/plivo.png)](http://badge.fury.io/rb/plivo)
|
5
4
|
[![Dependency Status](https://gemnasium.com/plivo/plivo-ruby.png)](https://gemnasium.com/plivo/plivo-ruby)
|
6
5
|
|
7
|
-
Description
|
8
|
-
~~~~~~~~~~~
|
6
|
+
## Description
|
9
7
|
|
10
8
|
The Plivo Ruby library simplifies the process of making REST calls and generating RESTXML.
|
11
9
|
|
12
|
-
See
|
10
|
+
See [Plivo Documentation](http://www.plivo.com/docs/) for more information.
|
13
11
|
|
14
12
|
|
15
|
-
GEM Installation
|
16
|
-
~~~~~~~~~~~~~
|
13
|
+
## GEM Installation
|
17
14
|
|
18
15
|
$ sudo gem install plivo
|
19
16
|
|
20
17
|
|
21
|
-
Manual Installation
|
22
|
-
~~~~~~~~~~~~~~~~~~~~
|
18
|
+
## Manual Installation
|
23
19
|
|
24
20
|
To use the rake command to build the gem and
|
25
21
|
|
@@ -28,27 +24,25 @@ To use the rake command to build the gem and
|
|
28
24
|
|
29
25
|
to finish the installation
|
30
26
|
|
31
|
-
Requirements
|
32
|
-
|
27
|
+
### Requirements
|
28
|
+
|
29
|
+
```
|
33
30
|
gem "rest-client", "~> 1.6.7"
|
34
31
|
gem "json", "~> 1.6.6"
|
35
32
|
gem "htmlentities", "~> 4.3.1"
|
33
|
+
```
|
36
34
|
|
37
|
-
Usage
|
38
|
-
~~~~~
|
35
|
+
## Usage
|
39
36
|
|
40
37
|
To use the Plivo Ruby library, you will need to specify the AUTH_ID and AUTH_TOKEN, before you can make REST requests.
|
41
38
|
|
42
|
-
See
|
43
|
-
|
39
|
+
See [Plivo Documentation](http://www.plivo.com/docs/) for more information.
|
44
40
|
|
45
|
-
|
46
|
-
Files
|
47
|
-
~~~~~
|
41
|
+
## Files
|
48
42
|
|
49
43
|
**lib/plivo.rb:** include this library in your code
|
50
44
|
|
51
|
-
License
|
52
|
-
|
45
|
+
# License
|
46
|
+
|
53
47
|
|
54
48
|
The Plivo Ruby library is distributed under the MPL 1.1 License
|
data/lib/plivo.rb
CHANGED
@@ -648,7 +648,7 @@ module Plivo
|
|
648
648
|
|
649
649
|
class Wait < Element
|
650
650
|
@nestables = []
|
651
|
-
@valid_attributes = ['length', 'silence', 'min_silence']
|
651
|
+
@valid_attributes = ['length', 'silence', 'min_silence', 'beep']
|
652
652
|
|
653
653
|
def initialize(attributes={})
|
654
654
|
super(nil, attributes)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plivo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Plivo Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|