plivo 4.11.0 → 4.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/lib/plivo/resources/applications.rb +4 -2
- data/lib/plivo/version.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: b8d277a7f0560d74af250eccbc0074d2dbeceb36
|
4
|
+
data.tar.gz: daf6f39606b2e0e9d53b0a3327d6ddec90185ff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa164e6d25507612e12614bb132c3efdb2f720ab2e64d5d2e98199c7e693d07b6526f4e0dcd93ec029a13c8c8f50973f55dd183ad19f42594890aa8207c2403b
|
7
|
+
data.tar.gz: 74d62909b35e233477f90bc61ac9d55047943402be911125eabd06d9e32878c27f3321399144808ba4b18c46f1cfd55e9691fa865fef3c41d8e99b4ad5758116
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [4.12.0](https://github.com/plivo/plivo-ruby/releases/tag/v4.12.0) (2020-09-24)
|
4
|
+
- Add "public_uri" optional param support for Application API.
|
5
|
+
|
3
6
|
## [4.11.0](https://github.com/plivo/plivo-ruby/releases/tag/v4.9.0) (2020-08-25)
|
4
7
|
- Add Powerpack for mms
|
5
8
|
|
data/README.md
CHANGED
@@ -24,6 +24,7 @@ module Plivo
|
|
24
24
|
# @option options [Boolean] :default_endpoint_app - If set to true, this parameter ensures that newly created endpoints, which don't have an app_id, point to this application.
|
25
25
|
# @option options [String] :subaccount - Id of the subaccount, in case only subaccount applications are needed.
|
26
26
|
# @option options [Boolean] :log_incoming_messages - If set to true, this parameter ensures that incoming messages are logged.
|
27
|
+
# @option options [Boolean] :public_uri - If set to true, this parameter enables public_uri.
|
27
28
|
# @return [Application] Application
|
28
29
|
def update(options = nil)
|
29
30
|
return perform_update({}) if options.nil?
|
@@ -48,7 +49,7 @@ module Plivo
|
|
48
49
|
end
|
49
50
|
end
|
50
51
|
|
51
|
-
%i[default_number_app default_endpoint_app log_incoming_messages].each do |param|
|
52
|
+
%i[default_number_app default_endpoint_app log_incoming_messages public_uri].each do |param|
|
52
53
|
if options.key?(param) &&
|
53
54
|
valid_param?(param, options[param], [TrueClass, FalseClass], true)
|
54
55
|
params[param] = options[param]
|
@@ -134,6 +135,7 @@ module Plivo
|
|
134
135
|
# @option options [Boolean] :default_endpoint_app - If set to true, this parameter ensures that newly created endpoints, which don't have an app_id, point to this application.
|
135
136
|
# @option options [String] :subaccount - Id of the subaccount, in case only subaccount applications are needed.
|
136
137
|
# @option options [Boolean] :log_incoming_messages - If set to true, this parameter ensures that incoming messages are logged.
|
138
|
+
# @option options [Boolean] :public_uri - If set to true, this parameter enables public_uri.
|
137
139
|
# @return [Application] Application
|
138
140
|
def create(app_name, options = nil)
|
139
141
|
valid_param?(:app_name, app_name, [String, Symbol], true)
|
@@ -161,7 +163,7 @@ module Plivo
|
|
161
163
|
end
|
162
164
|
end
|
163
165
|
|
164
|
-
%i[default_number_app default_endpoint_app log_incoming_messages].each do |param|
|
166
|
+
%i[default_number_app default_endpoint_app log_incoming_messages public_uri].each do |param|
|
165
167
|
if options.key?(param) &&
|
166
168
|
valid_param?(param, options[param], [TrueClass, FalseClass], true)
|
167
169
|
params[param] = options[param]
|
data/lib/plivo/version.rb
CHANGED
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: 4.
|
4
|
+
version: 4.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Plivo SDKs Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|