twilio-ruby 5.39.1 → 5.39.2

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: 1fdc4e2781cfb9b6a282ef7231251f6da2d92b54759750cbb09ad7d740af7b9f
4
- data.tar.gz: 8cc7809e41c1da0ee5764c9683b6f5cfc87a5b63eba2fd1e00071c0286520ea4
3
+ metadata.gz: 71776e4fa40a71f0bbf50c4a47df1ba6f61d4cc803ced22a977db622fd2d1414
4
+ data.tar.gz: e9e0e1169bc3d9983393b937b6b1921aba4a64808c2350400df8070a2299a04c
5
5
  SHA512:
6
- metadata.gz: 9637c20fa554711bd82194b9af9cbf1f19ee22b65ef3259364896f4887c88c6b319a33ff22e500ca892a42b3cf3bf5b7e4c772bec591ff9eaac886f461f06e11
7
- data.tar.gz: eecc1ee22886d77f2e91ce00c90198a94bad7fbf890a992bd27848b1a9082dfbb249a1f48dacea95f8da2dda1190b0be92aa919f5f20ee38562c7a3fc7c067bb
6
+ metadata.gz: ae3e0865ab57e2b34268fbc5eccbd246c92515e3665d55512becfacb45e7bd509251ca43fba9d58ffd97a56535c6fcab0efb1c4d78cdff532b988ebe32b891ff
7
+ data.tar.gz: d36bfcb14b0746e0d8e299f7dc6e2d788a2fc4f2e61d7b7311f97204649a861ec8ed839851a2486bfcce7ab241020138b2e7c7de6ec2ae8af26a861bf554a945
data/CHANGES.md CHANGED
@@ -1,6 +1,15 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2020-07-22] Version 5.39.2
5
+ ---------------------------
6
+ **Api**
7
+ - Add optional Click Tracking and Scheduling parameters to Create action of Message resource
8
+
9
+ **Supersim**
10
+ - Add callback_url and callback_method parameters to Sim resource update request
11
+
12
+
4
13
  [2020-07-10] Version 5.39.1
5
14
  ---------------------------
6
15
  **Library - Fix**
data/Makefile CHANGED
@@ -4,7 +4,7 @@ githooks:
4
4
  ln -sf ../../githooks/pre-commit .git/hooks/pre-commit
5
5
 
6
6
  install: githooks
7
- bundle install; bundle exec rake install
7
+ bundle install --with development; bundle exec rake install
8
8
 
9
9
  test: lint
10
10
  bundle exec rake spec
data/README.md CHANGED
@@ -32,13 +32,13 @@ This library supports the following Ruby implementations:
32
32
  To install using [Bundler][bundler] grab the latest stable version:
33
33
 
34
34
  ```ruby
35
- gem 'twilio-ruby', '~> 5.39.1'
35
+ gem 'twilio-ruby', '~> 5.39.2'
36
36
  ```
37
37
 
38
38
  To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
39
39
 
40
40
  ```bash
41
- gem install twilio-ruby -v 5.39.1
41
+ gem install twilio-ruby -v 5.39.2
42
42
  ```
43
43
 
44
44
  To build and install the development branch yourself from the latest source:
@@ -206,9 +206,19 @@ module Twilio
206
206
  # for more info.
207
207
  # @param [String] fleet The SID or unique name of the Fleet to which the SIM
208
208
  # resource should be assigned.
209
+ # @param [String] callback_url The URL we should call using the `callback_method`
210
+ # after an asynchronous update has finished.
211
+ # @param [String] callback_method The HTTP method we should use to call
212
+ # `callback_url`. Can be: `GET` or `POST` and the default is POST.
209
213
  # @return [SimInstance] Updated SimInstance
210
- def update(unique_name: :unset, status: :unset, fleet: :unset)
211
- data = Twilio::Values.of({'UniqueName' => unique_name, 'Status' => status, 'Fleet' => fleet, })
214
+ def update(unique_name: :unset, status: :unset, fleet: :unset, callback_url: :unset, callback_method: :unset)
215
+ data = Twilio::Values.of({
216
+ 'UniqueName' => unique_name,
217
+ 'Status' => status,
218
+ 'Fleet' => fleet,
219
+ 'CallbackUrl' => callback_url,
220
+ 'CallbackMethod' => callback_method,
221
+ })
212
222
 
213
223
  payload = @version.update('POST', @uri, data: data)
214
224
 
@@ -343,9 +353,19 @@ module Twilio
343
353
  # for more info.
344
354
  # @param [String] fleet The SID or unique name of the Fleet to which the SIM
345
355
  # resource should be assigned.
356
+ # @param [String] callback_url The URL we should call using the `callback_method`
357
+ # after an asynchronous update has finished.
358
+ # @param [String] callback_method The HTTP method we should use to call
359
+ # `callback_url`. Can be: `GET` or `POST` and the default is POST.
346
360
  # @return [SimInstance] Updated SimInstance
347
- def update(unique_name: :unset, status: :unset, fleet: :unset)
348
- context.update(unique_name: unique_name, status: status, fleet: fleet, )
361
+ def update(unique_name: :unset, status: :unset, fleet: :unset, callback_url: :unset, callback_method: :unset)
362
+ context.update(
363
+ unique_name: unique_name,
364
+ status: status,
365
+ fleet: fleet,
366
+ callback_url: callback_url,
367
+ callback_method: callback_method,
368
+ )
349
369
  end
350
370
 
351
371
  ##
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '5.39.1'
2
+ VERSION = '5.39.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilio-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.39.1
4
+ version: 5.39.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Twilio API Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-10 00:00:00.000000000 Z
11
+ date: 2020-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt