plivo 4.33.0 → 4.34.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: 91e6a46c6cdd2eaba084e75f7de4540798f44329
4
- data.tar.gz: e25964de25b70475fb5e18aeead32ad74971f84b
3
+ metadata.gz: de4b78ac5799e5ff9f65d3623021fc4e33292bf8
4
+ data.tar.gz: 4fbef9dc4f1100357020bfdab2e311fd8ba123e0
5
5
  SHA512:
6
- metadata.gz: d979a7a052c24b240afbf714b8d741b1308a35f348a56e1bc42261836f90575de0219ee59e0525383e96ceed30af013ed8f9c4d237bb4625737fd7629713af95
7
- data.tar.gz: ff1df38d8b84e83ff8d68a8f38127303327410dc8c002e1879577f87a654ce7e676529e987c9d882d4a96b0923b96ffe30a2a4d7a55839cca00a914272fbabc9
6
+ metadata.gz: 15336d49a866cf91315a34668867a7c4dd83691bdf6e4b7d92536f190a849edf0418266af694c039747598e364a4ee881c7390b27ef4df10043425f2c0fee049
7
+ data.tar.gz: 435fa499c6a611525f7fae8f7f95fccc076d1b31931306977524a5da73b7db7bb4f1648b073445904b86441f0a49b6d923b6f1ea4f42b334d54060942a5264ad
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
1
  # Change Log
2
+ ## [4.34.0](https://github.com/plivo/plivo-ruby/tree/v4.34.0) (2022-12-16)
3
+ **10DLC: Update Campaign API**
4
+ - Added Update Campaign API
5
+
2
6
  ## [4.33.0](https://github.com/plivo/plivo-ruby/tree/v4.33.0) (2022-12-06)
3
7
  **10DLC: Delete Campaign and Brand API**
4
8
  - Added Delete campaign and brand API
data/README.md CHANGED
@@ -9,7 +9,7 @@ The Plivo Ruby SDK makes it simpler to integrate communications into your Ruby a
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'plivo', '>= 4.33.0'
12
+ gem 'plivo', '>= 4.34.0'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -86,6 +86,16 @@ module Plivo
86
86
  perform_create(options)
87
87
  end
88
88
  ##
89
+ # Update Camapign
90
+ def update(campaign_id, options=nil)
91
+ valid_param?(:options, options, Hash, true)
92
+ if not campaign_id
93
+ raise_invalid_request("campaign_id must be provided")
94
+ end
95
+ action = campaign_id
96
+ perform_action_with_identifier(action, 'POST', options)
97
+ end
98
+ ##
89
99
  # campaign number link
90
100
  #
91
101
  def number_link(options=nil)
data/lib/plivo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = "4.33.0".freeze
2
+ VERSION = "4.34.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.33.0
4
+ version: 4.34.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: 2022-12-15 00:00:00.000000000 Z
11
+ date: 2023-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday