twilio-ruby 5.39.1 → 5.39.2
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 +4 -4
- data/CHANGES.md +9 -0
- data/Makefile +1 -1
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +24 -4
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71776e4fa40a71f0bbf50c4a47df1ba6f61d4cc803ced22a977db622fd2d1414
|
4
|
+
data.tar.gz: e9e0e1169bc3d9983393b937b6b1921aba4a64808c2350400df8070a2299a04c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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.
|
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.
|
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({
|
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(
|
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
|
##
|
data/lib/twilio-ruby/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2020-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|