plivo 4.15.0 → 4.15.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 114dedbc98499312df91e0cdccf82b0965c633a6
4
- data.tar.gz: f3e82a94f10e2bfff18d2057d67f639e114e01be
3
+ metadata.gz: af8812c959e30b03f4ab8312e6d5c65aeaff4dd3
4
+ data.tar.gz: ed5f67dc23cf3e31a3247688e3969ff8611255f7
5
5
  SHA512:
6
- metadata.gz: 22cc46f89d219c32bf3e5f59378b03d383c1737909eed8ef711f0b3e181c3e9e29ee3a1e3b75e146516ac1ac41e4241fe64aaad0c058ebce42982817ad6a151b
7
- data.tar.gz: bfd4e2fc9fe8fc548239e34a9d86c319caa45f07df3002b329f1b7210cafd7342bfbc6c5dcbbde0dc01fc9c235b1f6bc053c087a12c486522ecfca9b9d19917a
6
+ metadata.gz: 81b47688dfe92855000e1bb118f1a53ecee5a10744f323ccbb4aaf721073a7e9be06ed23b5a88d2bcdab6fc7c0169a66a45c74ff1725e01da81460c0ce8e1dcf
7
+ data.tar.gz: '09c20aecb34e44472269a8239c4f9f3ccc8dea27a8b44347aeccae1f7ae73dea7a346467fad9d3648400d11c2d8992f3ce3e1563354eb7f34faa800121ac5827'
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## [4.15.1](https://github.com/plivo/plivo-ruby/releases/tag/v4.15.1) (2021-01-06)
4
+ - Fix Search Phone Numbers API using City Attribute.
5
+
3
6
  ## [4.15.0](https://github.com/plivo/plivo-ruby/releases/tag/v4.15.0) (2020-11-17)
4
7
  - Add number_priority support for Powerpack API.
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.15.0'
11
+ gem 'plivo', '>= 4.15.1'
12
12
  ```
13
13
 
14
14
  And then execute:
@@ -59,6 +59,7 @@ module Plivo
59
59
  # - By default, numbers that have either voice or sms or both enabled are returned.
60
60
  # @option options [String] :lata Numbers can be searched using Local Access and Transport Area {http://en.wikipedia.org/wiki/Local_access_and_transport_area}. This filter is applicable only for country_iso US and CA.
61
61
  # @option options [String] :rate_center Numbers can be searched using Rate Center {http://en.wikipedia.org/wiki/Telephone_exchange}. This filter is application only for country_iso US and CA.
62
+ # @option options [String] :city Filter phone number based on the city name. This filter is only applicable when the type is Local
62
63
  # @option options [Boolean] :eligible If set to true, lists only those numbers that you are eligible to buy at the moment. To list all numbers, ignore this option.
63
64
  # @option options [Int] :limit Used to display the number of results per page. The maximum number of results that can be fetched is 20.
64
65
  # @option options [Int] :offset Denotes the number of value items by which the results should be offset. Eg:- If the result contains a 1000 values and limit is set to 10 and offset is set to 705, then values 706 through 715 are displayed in the results. This parameter is also used for pagination of the results.
@@ -71,7 +72,7 @@ module Plivo
71
72
 
72
73
  return perform_list(params) if options.nil?
73
74
 
74
- %i[type pattern region services lata rate_center].each do |param|
75
+ %i[type pattern region services lata rate_center city].each do |param|
75
76
  if options.key?(param) &&
76
77
  valid_param?(param, options[param], [String, Symbol], true)
77
78
  params[param] = options[param]
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = "4.15.0".freeze
2
+ VERSION = "4.15.1".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.15.0
4
+ version: 4.15.1
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-17 00:00:00.000000000 Z
11
+ date: 2021-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday