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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d641350610110aad6f806863f07423c6d00c25cc
4
- data.tar.gz: 575c20c51371033efd51c06d9005bc465ea59502
3
+ metadata.gz: 114dedbc98499312df91e0cdccf82b0965c633a6
4
+ data.tar.gz: f3e82a94f10e2bfff18d2057d67f639e114e01be
5
5
  SHA512:
6
- metadata.gz: 837eec078ee00718c11d4c0ac9dd96a238d017289fb648aed9b9045373afe166f56be1eccea3d65b10d8c8276ba3a3e774682373ef4c9be6940a77dc566104db
7
- data.tar.gz: 7762e64e47c88778486e5bb584aae0af7fc6ec8d1cdc1ad2025dfb9e778eb4a2d54ba0c9a57a896cf967d54ab46aac7c81b6a5364b1785708e040c894c8bc1da
6
+ metadata.gz: 22cc46f89d219c32bf3e5f59378b03d383c1737909eed8ef711f0b3e181c3e9e29ee3a1e3b75e146516ac1ac41e4241fe64aaad0c058ebce42982817ad6a151b
7
+ data.tar.gz: bfd4e2fc9fe8fc548239e34a9d86c319caa45f07df3002b329f1b7210cafd7342bfbc6c5dcbbde0dc01fc9c235b1f6bc053c087a12c486522ecfca9b9d19917a
@@ -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
@@ -8,7 +8,7 @@ The Plivo Ruby SDK makes it simpler to integrate communications into your Ruby a
8
8
  Add this line to your application's Gemfile:
9
9
 
10
10
  ```ruby
11
- gem 'plivo', '>= 4.14.0'
11
+ gem 'plivo', '>= 4.15.0'
12
12
  ```
13
13
 
14
14
  And then execute:
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = "4.14.0".freeze
2
+ VERSION = "4.15.0".freeze
3
3
  end
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.14.0
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-10-30 00:00:00.000000000 Z
11
+ date: 2020-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday