plivo 4.62.4 → 4.62.5

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: 0d0945a2ae156dd9a5a3ce33992452b8f2c51144
4
- data.tar.gz: ae3707663dccf9789e092471577ad75fc46b7761
3
+ metadata.gz: ab232d10176adbaaf1375e8d53cf04fc9cbca55c
4
+ data.tar.gz: b092be2a259e7dd451db35a742951c7291b47094
5
5
  SHA512:
6
- metadata.gz: 91d74f17d1d3e49cb04c3756f5d9b640c2a14e94df7defa641bfc4ac55a9deadd3fc90ce8e352cd6d626c67cacabbc7a930cbbac4226ec8b82b5ef476ed0d1be
7
- data.tar.gz: 505800d50b308b6958ab8c68201114660e618d7346ef9819e9f7060e90a14b50fd5c6382efb7d40e6493221758a418b07d7a5283e64fc8ab423ec96aa4060c67
6
+ metadata.gz: d7c2b0e1b7fd3b27ec9634187f5fdafb5b7ede1b11531901b9ba23de9024c0da81c668bddc3897d6c7202ea2065814d809077b83f541e69887e783f66d145022
7
+ data.tar.gz: 3c6b3aea56c356103037991df5815d9d12424929ba93a9ef1639c7328ec6d7852961c85c3402260a60b10505a2a6f8d3ea38244a2706c47f54efe9997222fc6d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change Log
2
2
 
3
+ ## [4.62.5](https://github.com/plivo/plivo-ruby/tree/v4.62.5) (2026-01-21)
4
+ **Feature - HA Number support**
5
+ - Added `ha_enable` optional parameter to PhoneNumber `buy` method
6
+ - Added `fallback_number` field to PhoneNumber and Number response objects
7
+
3
8
  ## [4.62.4](https://github.com/plivo/plivo-ruby/tree/v4.62.4) (2026-01-13)
4
9
  **Feature - Profile API business_contact_email support**
5
10
  - Added `business_contact_email` parameter support to Profile `create` and `update` methods for PUBLIC entity types
@@ -9,11 +9,12 @@ module Plivo
9
9
  super
10
10
  end
11
11
 
12
- def buy(app_id = nil, verification_info = nil, cnam_lookup = nil)
12
+ def buy(app_id = nil, verification_info = nil, cnam_lookup = nil, ha_enable = nil)
13
13
  params = {}
14
14
  params[:app_id] = app_id unless app_id.nil?
15
15
  params[:verification_info] = verification_info unless verification_info.nil?
16
16
  params[:cnam_lookup] = cnam_lookup unless cnam_lookup.nil?
17
+ params[:ha_enable] = ha_enable unless ha_enable.nil?
17
18
  perform_action(nil, 'POST', params, true)
18
19
  end
19
20
 
@@ -39,7 +40,8 @@ module Plivo
39
40
  tendlc_registration_status: @tendlc_registration_status,
40
41
  toll_free_sms_verification: @toll_free_sms_verification,
41
42
  toll_free_sms_verification_id: @toll_free_sms_verification_id,
42
- toll_free_sms_verification_order_status: @toll_free_sms_verification_order_status
43
+ toll_free_sms_verification_order_status: @toll_free_sms_verification_order_status,
44
+ fallback_number: @fallback_number
43
45
  }.to_s
44
46
  end
45
47
  end
@@ -121,10 +123,10 @@ module Plivo
121
123
  end
122
124
  end
123
125
 
124
- def buy(number, app_id = nil, verification_info = nil, cnam_lookup = nil)
126
+ def buy(number, app_id = nil, verification_info = nil, cnam_lookup = nil, ha_enable = nil)
125
127
  valid_param?(:number, number, [Integer, String, Symbol], true)
126
128
  PhoneNumber.new(@_client,
127
- resource_id: number).buy(app_id, verification_info, cnam_lookup)
129
+ resource_id: number).buy(app_id, verification_info, cnam_lookup, ha_enable)
128
130
  end
129
131
  end
130
132
 
@@ -189,7 +191,8 @@ module Plivo
189
191
  renewal_date: @renewal_date,
190
192
  cnam_lookup: @cnam_lookup,
191
193
  toll_free_sms_verification_id: @toll_free_sms_verification_id,
192
- toll_free_sms_verification_order_status: @toll_free_sms_verification_order_status
194
+ toll_free_sms_verification_order_status: @toll_free_sms_verification_order_status,
195
+ fallback_number: @fallback_number
193
196
  }.to_s
194
197
  end
195
198
  end
data/lib/plivo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = "4.62.4".freeze
2
+ VERSION = "4.62.5".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.62.4
4
+ version: 4.62.5
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: 2026-01-13 00:00:00.000000000 Z
11
+ date: 2026-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday