plivo 4.14.0 → 4.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/lib/plivo/resources/powerpacks.rb +11 -1
- 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: 114dedbc98499312df91e0cdccf82b0965c633a6
|
|
4
|
+
data.tar.gz: f3e82a94f10e2bfff18d2057d67f639e114e01be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 22cc46f89d219c32bf3e5f59378b03d383c1737909eed8ef711f0b3e181c3e9e29ee3a1e3b75e146516ac1ac41e4241fe64aaad0c058ebce42982817ad6a151b
|
|
7
|
+
data.tar.gz: bfd4e2fc9fe8fc548239e34a9d86c319caa45f07df3002b329f1b7210cafd7342bfbc6c5dcbbde0dc01fc9c235b1f6bc053c087a12c486522ecfca9b9d19917a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [4.15.0](https://github.com/plivo/plivo-ruby/releases/tag/v4.15.0) (2020-11-17)
|
|
4
|
+
- Add number_priority support for Powerpack API.
|
|
5
|
+
|
|
3
6
|
## [4.14.0](https://github.com/plivo/plivo-ruby/releases/tag/v4.14.0) (2020-10-30)
|
|
4
7
|
- Change lookup API endpoint and response.
|
|
5
8
|
|
data/README.md
CHANGED
|
@@ -47,6 +47,9 @@ module Plivo
|
|
|
47
47
|
if options.key?(:name)
|
|
48
48
|
params[:name] = options[:name]
|
|
49
49
|
end
|
|
50
|
+
if options.key?(:number_priority)
|
|
51
|
+
params[:number_priority] = options[:number_priority]
|
|
52
|
+
end
|
|
50
53
|
perform_action_apiresponse('', 'POST', params)
|
|
51
54
|
end
|
|
52
55
|
|
|
@@ -326,7 +329,8 @@ module Plivo
|
|
|
326
329
|
local_connect: @local_connect,
|
|
327
330
|
uuid: @uuid,
|
|
328
331
|
number_pool:@number_pool,
|
|
329
|
-
created_on:@created_on
|
|
332
|
+
created_on:@created_on,
|
|
333
|
+
number_priority:@number_priority
|
|
330
334
|
}.to_s
|
|
331
335
|
end
|
|
332
336
|
end
|
|
@@ -662,6 +666,12 @@ module Plivo
|
|
|
662
666
|
valid_param?(:local_connect, options[:local_connect], [TrueClass, FalseClass], true)
|
|
663
667
|
params[:local_connect] = options[:local_connect]
|
|
664
668
|
end
|
|
669
|
+
|
|
670
|
+
if options.key?(:number_priority) &&
|
|
671
|
+
valid_param?(:number_priority, options[:number_priority], Array, true)
|
|
672
|
+
params[:number_priority] = options[:number_priority]
|
|
673
|
+
end
|
|
674
|
+
|
|
665
675
|
perform_create(params)
|
|
666
676
|
end
|
|
667
677
|
|
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.15.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-
|
|
11
|
+
date: 2020-11-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|