diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e9ae32..7b790eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # Change Log +## [4.61.1](https://github.com/plivo/plivo-ruby/tree/v4.61.1) (2024-10-10) +**Feature - Dtmf param in Create, Get and List Session** +- Support for the `dtmf` parameter in voice verify session request +- Added support for `dtmf` in GET and LIST verify session + ## [4.61.0](https://github.com/plivo/plivo-ruby/tree/v4.61.0) (2024-09-30) **Feature - Adding new param support for Number Masking session with single party ** - Added `create_session_with_single_party`, `virtual_number_cooloff_period` and `force_pin_authentication` attributes in Masking Session diff --git a/README.md b/README.md index 1da17d7..df32915 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The Plivo Ruby SDK makes it simpler to integrate communications into your Ruby a Add this line to your application's Gemfile: ```ruby -gem 'plivo', '>= 4.61.0' +gem 'plivo', '>= 4.61.1' ``` And then execute: diff --git a/lib/plivo/resources/verify_session.rb b/lib/plivo/resources/verify_session.rb index f2a90a5..ae31a85 100644 --- a/lib/plivo/resources/verify_session.rb +++ b/lib/plivo/resources/verify_session.rb @@ -42,7 +42,7 @@ def get(session_uuid) perform_get(session_uuid) end - def create(app_uuid = nil, recipient = nil,channel = nil, url = nil, method = nil, locale=nil, brand_name=nil, app_hash=nil, code_length=nil) + def create(app_uuid = nil, recipient = nil,channel = nil, url = nil, method = nil, locale=nil, brand_name=nil, app_hash=nil, code_length=nil, dtmf=nil) valid_param?(:app_uuid, app_uuid, [String, Symbol], false) valid_param?(:recipient, recipient, [Integer, String, Symbol], true) valid_param?(:channel, channel, [String, Symbol], false) @@ -52,6 +52,7 @@ def create(app_uuid = nil, recipient = nil,channel = nil, url = nil, method = ni valid_param?(:brand_name, brand_name, [String, Symbol], false) valid_param?(:app_hash, app_hash, [String, Symbol], false) valid_param?(:code_length, code_length,[Integer,Symbol], false) + valid_param?(:dtmf, dtmf,[Integer,Symbol], false) params = { app_uuid: app_uuid, @@ -62,7 +63,8 @@ def create(app_uuid = nil, recipient = nil,channel = nil, url = nil, method = ni locale: locale, brand_name: brand_name, app_hash: app_hash, - code_length: code_length + code_length: code_length, + dtmf:dtmf } perform_create(params) end diff --git a/lib/plivo/version.rb b/lib/plivo/version.rb index f59f51e..dd22c90 100644 --- a/lib/plivo/version.rb +++ b/lib/plivo/version.rb @@ -1,3 +1,3 @@ module Plivo - VERSION = "4.61.0".freeze + VERSION = "4.61.1".freeze end