twilio-ruby 7.2.1 → 7.2.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
  SHA1:
3
- metadata.gz: 2ba08556a001b386c939f16fa40ac4769fc3ff5c
4
- data.tar.gz: f46241c7710f7b6deb4d3b5038a1855f557cfe2c
3
+ metadata.gz: 6dbea59ef4b7192140ee2e54181fdfcb9878d66c
4
+ data.tar.gz: d9da33b2d489e04c31bee083d396839cf0f6a5ee
5
5
  SHA512:
6
- metadata.gz: 1fd587a77c48424128ee37b78cd68cd5aab23c0d0357f8a8824afa5f758ec7c44455ee22bccc32aad169412f35c0025eec8d9a619d67dc53ba81fb399e0818c4
7
- data.tar.gz: b1727e945030c1a48a7dcb60306439ca2c27eae1cd80684c505610d62225c1dd1d17847bac9f59b9dae36814cd469426e1e0e4ecfef3b3700e8f597ea4ea8f26
6
+ metadata.gz: 457f387633dac16d00ba8f9c4ec6e4c2bf19d4d12d15c6df0f7bcf056dbd94f110fc717e28dbb178b8afe0a28c891fe01f3ae58588c17b0dc69610e58df132c9
7
+ data.tar.gz: 971756f9b9cf1b60059cc5f9e584378d46d27b01ddd08841901f9801ba32cddf615c1b2504272e9199ad1d3666a258814ec64648acbd1ec8410702f597575f9e
data/CHANGES.md CHANGED
@@ -1,6 +1,12 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2024-07-02] Version 7.2.2
5
+ --------------------------
6
+ **Intelligence**
7
+ - Deprecate account flag api.twilio-intelligence.v2
8
+
9
+
4
10
  [2024-06-27] Version 7.2.1
5
11
  --------------------------
6
12
  **Api**
data/README.md CHANGED
@@ -39,13 +39,13 @@ This library supports the following Ruby implementations:
39
39
  To install using [Bundler][bundler] grab the latest stable version:
40
40
 
41
41
  ```ruby
42
- gem 'twilio-ruby', '~> 7.2.1'
42
+ gem 'twilio-ruby', '~> 7.2.2'
43
43
  ```
44
44
 
45
45
  To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
46
46
 
47
47
  ```bash
48
- gem install twilio-ruby -v 7.2.1
48
+ gem install twilio-ruby -v 7.2.2
49
49
  ```
50
50
 
51
51
  To build and install the development branch yourself from the latest source:
@@ -17,12 +17,12 @@ module Twilio
17
17
  module REST
18
18
  class Numbers < NumbersBase
19
19
  class V1 < Version
20
- class PortingWebhookConfigurationFetchList < ListResource
20
+ class WebhookList < ListResource
21
21
 
22
22
  ##
23
- # Initialize the PortingWebhookConfigurationFetchList
23
+ # Initialize the WebhookList
24
24
  # @param [Version] version Version that contains the resource
25
- # @return [PortingWebhookConfigurationFetchList] PortingWebhookConfigurationFetchList
25
+ # @return [WebhookList] WebhookList
26
26
  def initialize(version)
27
27
  super(version)
28
28
  # Path Solution
@@ -31,14 +31,14 @@ module Twilio
31
31
 
32
32
  end
33
33
  ##
34
- # Fetch the PortingWebhookConfigurationFetchInstance
35
- # @return [PortingWebhookConfigurationFetchInstance] Fetched PortingWebhookConfigurationFetchInstance
34
+ # Fetch the WebhookInstance
35
+ # @return [WebhookInstance] Fetched WebhookInstance
36
36
  def fetch
37
37
 
38
38
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
39
39
 
40
40
  payload = @version.fetch('GET', @uri, headers: headers)
41
- PortingWebhookConfigurationFetchInstance.new(
41
+ WebhookInstance.new(
42
42
  @version,
43
43
  payload,
44
44
  )
@@ -49,17 +49,17 @@ module Twilio
49
49
 
50
50
  # Provide a user friendly representation
51
51
  def to_s
52
- '#<Twilio.Numbers.V1.PortingWebhookConfigurationFetchList>'
52
+ '#<Twilio.Numbers.V1.WebhookList>'
53
53
  end
54
54
  end
55
55
 
56
- class PortingWebhookConfigurationFetchPage < Page
56
+ class WebhookPage < Page
57
57
  ##
58
- # Initialize the PortingWebhookConfigurationFetchPage
58
+ # Initialize the WebhookPage
59
59
  # @param [Version] version Version that contains the resource
60
60
  # @param [Response] response Response from the API
61
61
  # @param [Hash] solution Path solution for the resource
62
- # @return [PortingWebhookConfigurationFetchPage] PortingWebhookConfigurationFetchPage
62
+ # @return [WebhookPage] WebhookPage
63
63
  def initialize(version, response, solution)
64
64
  super(version, response)
65
65
 
@@ -68,29 +68,29 @@ module Twilio
68
68
  end
69
69
 
70
70
  ##
71
- # Build an instance of PortingWebhookConfigurationFetchInstance
71
+ # Build an instance of WebhookInstance
72
72
  # @param [Hash] payload Payload response from the API
73
- # @return [PortingWebhookConfigurationFetchInstance] PortingWebhookConfigurationFetchInstance
73
+ # @return [WebhookInstance] WebhookInstance
74
74
  def get_instance(payload)
75
- PortingWebhookConfigurationFetchInstance.new(@version, payload)
75
+ WebhookInstance.new(@version, payload)
76
76
  end
77
77
 
78
78
  ##
79
79
  # Provide a user friendly representation
80
80
  def to_s
81
- '<Twilio.Numbers.V1.PortingWebhookConfigurationFetchPage>'
81
+ '<Twilio.Numbers.V1.WebhookPage>'
82
82
  end
83
83
  end
84
- class PortingWebhookConfigurationFetchInstance < InstanceResource
84
+ class WebhookInstance < InstanceResource
85
85
  ##
86
- # Initialize the PortingWebhookConfigurationFetchInstance
86
+ # Initialize the WebhookInstance
87
87
  # @param [Version] version Version that contains the resource
88
88
  # @param [Hash] payload payload that contains response from Twilio
89
89
  # @param [String] account_sid The SID of the
90
- # {Account}[https://www.twilio.com/docs/iam/api/account] that created this PortingWebhookConfigurationFetch
90
+ # {Account}[https://www.twilio.com/docs/iam/api/account] that created this Webhook
91
91
  # resource.
92
92
  # @param [String] sid The SID of the Call resource to fetch.
93
- # @return [PortingWebhookConfigurationFetchInstance] PortingWebhookConfigurationFetchInstance
93
+ # @return [WebhookInstance] WebhookInstance
94
94
  def initialize(version, payload )
95
95
  super(version)
96
96
 
@@ -145,13 +145,13 @@ module Twilio
145
145
  ##
146
146
  # Provide a user friendly representation
147
147
  def to_s
148
- "<Twilio.Numbers.V1.PortingWebhookConfigurationFetchInstance>"
148
+ "<Twilio.Numbers.V1.WebhookInstance>"
149
149
  end
150
150
 
151
151
  ##
152
152
  # Provide a detailed, user friendly representation
153
153
  def inspect
154
- "<Twilio.Numbers.V1.PortingWebhookConfigurationFetchInstance>"
154
+ "<Twilio.Numbers.V1.WebhookInstance>"
155
155
  end
156
156
  end
157
157
 
@@ -28,8 +28,8 @@ module Twilio
28
28
  @porting_portabilities = nil
29
29
  @porting_webhook_configurations = nil
30
30
  @porting_webhook_configurations_delete = nil
31
- @porting_webhook_configuration_fetch = nil
32
31
  @signing_request_configurations = nil
32
+ @webhook = nil
33
33
  end
34
34
 
35
35
  ##
@@ -135,16 +135,16 @@ module Twilio
135
135
  end
136
136
  end
137
137
  ##
138
- # @return [Twilio::REST::Numbers::V1::PortingWebhookConfigurationFetchList]
139
- def porting_webhook_configuration_fetch
140
- @porting_webhook_configuration_fetch ||= PortingWebhookConfigurationFetchList.new self
141
- end
142
- ##
143
138
  # @return [Twilio::REST::Numbers::V1::SigningRequestConfigurationList]
144
139
  def signing_request_configurations
145
140
  @signing_request_configurations ||= SigningRequestConfigurationList.new self
146
141
  end
147
142
  ##
143
+ # @return [Twilio::REST::Numbers::V1::WebhookList]
144
+ def webhook
145
+ @webhook ||= WebhookList.new self
146
+ end
147
+ ##
148
148
  # Provide a user friendly representation
149
149
  def to_s
150
150
  '<Twilio::REST::Numbers::V1>';
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '7.2.1'
2
+ VERSION = '7.2.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: 7.2.1
4
+ version: 7.2.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: 2024-06-27 00:00:00.000000000 Z
11
+ date: 2024-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -580,8 +580,8 @@ files:
580
580
  - lib/twilio-ruby/rest/numbers/v1/porting_portability.rb
581
581
  - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb
582
582
  - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb
583
- - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb
584
583
  - lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb
584
+ - lib/twilio-ruby/rest/numbers/v1/webhook.rb
585
585
  - lib/twilio-ruby/rest/numbers/v2.rb
586
586
  - lib/twilio-ruby/rest/numbers/v2/authorization_document.rb
587
587
  - lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb