diff --git a/CHANGELOG.md b/CHANGELOG.md index d9b4aa1..51521e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## [4.59.1](https://github.com/plivo/plivo-ruby/tree/v4.59.1) (2023-05-31) +**Feature - Adding filtering support for List Application API** +- Added new filter param `app_name` in list application api + ## [4.59.0)](https://github.com/plivo/plivo-go/tree/v4.59.0) (2024-05-31) **Feature - SubAccount and GeoMatch** - Added sub_account and geo_match support @@ -8,13 +12,11 @@ **Feature - Adding support for location whatsapp messages** - Added new param `location` to [send message API](https://www.plivo.com/docs/sms/api/message#send-a-message) to support location `whatsapp` messages - Added new param `location` in templates to support location based templated messages -- ## [4.57.0](https://github.com/plivo/plivo-ruby/tree/v4.57.0) (2023-05-07) **Feature - Adding support for interactive whatsapp messages** - Added new param `interactive` to [send message API](https://www.plivo.com/docs/sms/api/message#send-a-message) to support interactive `whatsapp` messages - ## [4.56.0](https://github.com/plivo/plivo-ruby/tree/v4.56.0) (2023-04-18) **Feature - Support for dynamic button components when sending a templated WhatsApp message** - Added new param `payload` in templates to support dynamic payload in templates diff --git a/README.md b/README.md index bafa7c2..00b96e1 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.59.0' +gem 'plivo', '>= 4.59.1' ``` And then execute: diff --git a/lib/plivo/resources/applications.rb b/lib/plivo/resources/applications.rb index b7e72fb..d3512d4 100644 --- a/lib/plivo/resources/applications.rb +++ b/lib/plivo/resources/applications.rb @@ -177,6 +177,7 @@ def create(app_name, options = nil) # Lists all applications # @param [Hash] options # @option options [String] :subaccount + # @option options [String] :app_name # @option options [Int] :offset # @option options [Int] :limit # @return [Hash] @@ -190,6 +191,11 @@ def list(options = nil) params[:subaccount] = options[:subaccount] end + if options.key?(:app_name) && + valid_param?(:app_name, options[:app_name], [String, Symbol], true) + params[:app_name] = options[:app_name] + end + %i[offset limit].each do |param| if options.key?(param) && valid_param?(param, options[param], [Integer, Integer], true) diff --git a/lib/plivo/version.rb b/lib/plivo/version.rb index 09484f0..6c91959 100644 --- a/lib/plivo/version.rb +++ b/lib/plivo/version.rb @@ -1,3 +1,3 @@ module Plivo - VERSION = "4.59.0".freeze + VERSION = "4.59.1".freeze end