plivo 4.1.2 → 4.1.3

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
  SHA256:
3
- metadata.gz: e3ec33d8fe7a40f2672fd2ca63d9306891b9447a010f4d497443fef722498f2b
4
- data.tar.gz: da44cf1cb3989166b25a72dbadaed1eea574d761e4114cabe9de5e948ed3604a
3
+ metadata.gz: ee7359896562ac1098adeebdb64c7b8f842041268382ed4850aff4b7d88109aa
4
+ data.tar.gz: fc0e6738d5304e5b6e915e3dc847725f0ec258a75b112da141bae418037af287
5
5
  SHA512:
6
- metadata.gz: 5df853f4360fa18249129fb00521df14155b6299295cff14d54812b0709dfc9e9a460705f89977fe8c57ab768d9e275c2c30344cc34c7ca89df5df4cd8f18567
7
- data.tar.gz: aff8e40a7cf8e1dd9b5475d35ee3143be5159094d2877099b5f49d0207d54a3b325a31163c5f50a59b411554d228dc6d2258ee149dd4d73780989a092577b358
6
+ metadata.gz: c3f696dca6ab0d779c39565bc0900b37743f218ccef5d35ee8e4f30893f8839aba91b13072bf4e96c355d7579fcf953ffc632fb52543f07bb5472e32cf8172ce
7
+ data.tar.gz: 0c5ca2e54100bef4e84112f550a06d6900e5c4e8ff291a8456864126fdc82751b71b161e30c386d294ba4e1775968143a93a4a46e39bcd7d7c753ecef093f7c7
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## [4.1.3](https://github.com/plivo/plivo-ruby/releases/tag/v4.1.3) (2018-10-01)
4
+ - Added Trackable parameter in messages.
5
+
3
6
  ## [4.1.2](https://github.com/plivo/plivo-ruby/releases/tag/v4.1.2) (2018-09-18)
4
7
  - Added parent_call_uuid parameter to filter calls.
5
8
  - Queued status added for filtering calls in queued status.
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.1.2'
11
+ gem 'plivo', '>= 4.1.3'
12
12
  ```
13
13
 
14
14
  And then execute:
@@ -60,6 +60,7 @@ module Plivo
60
60
  # - ErrorCode - Delivery Response code returned by the carrier attempting the delivery. See Supported error codes {https://www.plivo.com/docs/api/message/#standard-plivo-error-codes}.
61
61
  # @option options [String] :method The method used to call the url. Defaults to POST.
62
62
  # @option options [String] :log If set to false, the content of this message will not be logged on the Plivo infrastructure and the dst value will be masked (e.g., 141XXXXX528). Default is set to true.
63
+ # @option options [String] :trackable set to false
63
64
  def create(src, dst, text, options = nil, powerpack_uuid = nil)
64
65
  valid_param?(:src, src, [Integer, String, Symbol], false)
65
66
  valid_param?(:text, text, [String, Symbol], true)
@@ -110,6 +111,11 @@ module Plivo
110
111
  valid_param?(:log, options[:log], [TrueClass, FalseClass], true)
111
112
  params[:log] = options[:log]
112
113
  end
114
+
115
+ if options.key?(:trackable) &&
116
+ valid_param?(:trackable, options[:trackable], [TrueClass, FalseClass], true)
117
+ params[:trackable] = options[:trackable]
118
+ end
113
119
  perform_create(params)
114
120
  end
115
121
 
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = '4.1.2'.freeze
2
+ VERSION = '4.1.3'.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.1.2
4
+ version: 4.1.3
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: 2018-09-18 00:00:00.000000000 Z
11
+ date: 2018-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday