plivo 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/plivo.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01af22093bf9e9421a4bd3c97c9b18ac2a2473d4
|
4
|
+
data.tar.gz: 415cc3955067bf6e042b5742de420891d21976c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fd7de8adf443390c715798330ed87a08a014ec4056e15de354b8ffbd78661fbb8a5bd1548e6919fd5352f4b7dc4654de948b777b2e4896ba549cd0f06da9ed2
|
7
|
+
data.tar.gz: 1c97a05a9211e058fcb68e4e5d4e54a68321335e112ba467c2db84578597234c19bebcf49c8dd325fbd5b309a90929aa79d2efd38e23089b0a46bc7ba05f9355
|
data/lib/plivo.rb
CHANGED
@@ -111,17 +111,17 @@ module Plivo
|
|
111
111
|
end
|
112
112
|
|
113
113
|
def get_subaccount(params={})
|
114
|
-
subauth_id = params.delete("subauth_id")
|
114
|
+
subauth_id = params.delete("subauth_id") || params.delete(:subauth_id)
|
115
115
|
return request('GET', "/Subaccount/#{subauth_id}/", params)
|
116
116
|
end
|
117
117
|
|
118
118
|
def modify_subaccount(params={})
|
119
|
-
subauth_id = params.delete("subauth_id")
|
119
|
+
subauth_id = params.delete("subauth_id") || params.delete(:subauth_id)
|
120
120
|
return request('POST', "/Subaccount/#{subauth_id}/", params)
|
121
121
|
end
|
122
122
|
|
123
123
|
def delete_subaccount(params={})
|
124
|
-
subauth_id = params.delete("subauth_id")
|
124
|
+
subauth_id = params.delete("subauth_id") || params.delete(:subauth_id)
|
125
125
|
return request('DELETE', "/Subaccount/#{subauth_id}/", params)
|
126
126
|
end
|
127
127
|
|
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Plivo Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
99
|
rubyforge_project:
|
100
|
-
rubygems_version: 2.
|
100
|
+
rubygems_version: 2.0.3
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: A Ruby gem for communicating with the Plivo Cloud Platform
|