bandwidth-sdk 3.13.0 → 6.0.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 +4 -4
- data/LICENSE +1 -1
- data/lib/bandwidth/configuration.rb +1 -1
- data/lib/bandwidth/http/api_response.rb +2 -0
- data/lib/bandwidth/http/faraday_client.rb +9 -2
- data/lib/bandwidth/messaging_lib/messaging.rb +4 -0
- data/lib/bandwidth/messaging_lib/messaging/controllers/api_controller.rb +138 -23
- data/lib/bandwidth/messaging_lib/messaging/controllers/base_controller.rb +1 -1
- data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_message.rb +23 -13
- data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_message_item.rb +125 -0
- data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_messages_list.rb +60 -0
- data/lib/bandwidth/messaging_lib/messaging/models/media.rb +4 -4
- data/lib/bandwidth/messaging_lib/messaging/models/message_request.rb +21 -8
- data/lib/bandwidth/messaging_lib/messaging/models/page_info.rb +62 -0
- data/lib/bandwidth/messaging_lib/messaging/models/priority_enum.rb +19 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth.rb +4 -2
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/client.rb +4 -4
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb +1 -1
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/{api_controller.rb → mfa_controller.rb} +65 -14
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/error_with_request_exception.rb +34 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/{invalid_request_exception.rb → forbidden_request_exception.rb} +5 -5
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/unauthorized_request_exception.rb +29 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_request_schema.rb +0 -19
- data/lib/bandwidth/voice_lib/bxml/verbs/transfer.rb +8 -4
- data/lib/bandwidth/voice_lib/voice.rb +1 -1
- data/lib/bandwidth/voice_lib/voice/controllers/api_controller.rb +51 -52
- data/lib/bandwidth/voice_lib/voice/controllers/base_controller.rb +1 -1
- data/lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb +77 -17
- data/lib/bandwidth/voice_lib/voice/models/{call_engine_modify_conference_request.rb → api_modify_conference_request.rb} +14 -14
- data/lib/bandwidth/voice_lib/voice/models/state_enum.rb +3 -3
- data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/api_controller.rb +24 -24
- data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/base_controller.rb +1 -1
- data/test/controllers/controller_test_base.rb +21 -0
- data/test/http_response_catcher.rb +19 -0
- data/test/test_helper.rb +94 -0
- metadata +50 -7
@@ -4,8 +4,8 @@
|
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
6
|
module Bandwidth
|
7
|
-
#
|
8
|
-
class
|
7
|
+
# ApiModifyConferenceRequest Model.
|
8
|
+
class ApiModifyConferenceRequest < BaseModel
|
9
9
|
# TODO: Write general description for this method
|
10
10
|
# @return [StatusEnum]
|
11
11
|
attr_accessor :status
|
@@ -57,8 +57,8 @@ module Bandwidth
|
|
57
57
|
@_hash
|
58
58
|
end
|
59
59
|
|
60
|
-
def initialize(
|
61
|
-
|
60
|
+
def initialize(status = nil,
|
61
|
+
redirect_url = nil,
|
62
62
|
redirect_fallback_url = nil,
|
63
63
|
redirect_method = nil,
|
64
64
|
redirect_fallback_method = nil,
|
@@ -82,8 +82,8 @@ module Bandwidth
|
|
82
82
|
return nil unless hash
|
83
83
|
|
84
84
|
# Extract variables from the hash.
|
85
|
-
redirect_url = hash['redirectUrl']
|
86
85
|
status = hash['status']
|
86
|
+
redirect_url = hash['redirectUrl']
|
87
87
|
redirect_fallback_url = hash['redirectFallbackUrl']
|
88
88
|
redirect_method = hash['redirectMethod']
|
89
89
|
redirect_fallback_method = hash['redirectFallbackMethod']
|
@@ -93,15 +93,15 @@ module Bandwidth
|
|
93
93
|
fallback_password = hash['fallbackPassword']
|
94
94
|
|
95
95
|
# Create object from extracted values.
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
96
|
+
ApiModifyConferenceRequest.new(status,
|
97
|
+
redirect_url,
|
98
|
+
redirect_fallback_url,
|
99
|
+
redirect_method,
|
100
|
+
redirect_fallback_method,
|
101
|
+
username,
|
102
|
+
password,
|
103
|
+
fallback_username,
|
104
|
+
fallback_password)
|
105
105
|
end
|
106
106
|
end
|
107
107
|
end
|
@@ -8,13 +8,13 @@ module Bandwidth
|
|
8
8
|
class StateEnum
|
9
9
|
STATE_ENUM = [
|
10
10
|
# TODO: Write general description for DISCONNECTED
|
11
|
-
DISCONNECTED = '
|
11
|
+
DISCONNECTED = 'DISCONNECTED'.freeze,
|
12
12
|
|
13
13
|
# TODO: Write general description for ANSWERED
|
14
|
-
ANSWERED = '
|
14
|
+
ANSWERED = 'ANSWERED'.freeze,
|
15
15
|
|
16
16
|
# TODO: Write general description for INITIATED
|
17
|
-
INITIATED = '
|
17
|
+
INITIATED = 'INITIATED'.freeze
|
18
18
|
].freeze
|
19
19
|
end
|
20
20
|
end
|
@@ -24,7 +24,7 @@ module WebRtc
|
|
24
24
|
_query_builder << '/accounts/{accountId}/participants'
|
25
25
|
_query_builder = APIHelper.append_url_with_template_parameters(
|
26
26
|
_query_builder,
|
27
|
-
'accountId' => { 'value' => account_id, 'encode' =>
|
27
|
+
'accountId' => { 'value' => account_id, 'encode' => false }
|
28
28
|
)
|
29
29
|
_query_url = APIHelper.clean_url _query_builder
|
30
30
|
|
@@ -87,8 +87,8 @@ module WebRtc
|
|
87
87
|
_query_builder << '/accounts/{accountId}/participants/{participantId}'
|
88
88
|
_query_builder = APIHelper.append_url_with_template_parameters(
|
89
89
|
_query_builder,
|
90
|
-
'accountId' => { 'value' => account_id, 'encode' =>
|
91
|
-
'participantId' => { 'value' => participant_id, 'encode' =>
|
90
|
+
'accountId' => { 'value' => account_id, 'encode' => false },
|
91
|
+
'participantId' => { 'value' => participant_id, 'encode' => false }
|
92
92
|
)
|
93
93
|
_query_url = APIHelper.clean_url _query_builder
|
94
94
|
|
@@ -148,8 +148,8 @@ module WebRtc
|
|
148
148
|
_query_builder << '/accounts/{accountId}/participants/{participantId}'
|
149
149
|
_query_builder = APIHelper.append_url_with_template_parameters(
|
150
150
|
_query_builder,
|
151
|
-
'accountId' => { 'value' => account_id, 'encode' =>
|
152
|
-
'participantId' => { 'value' => participant_id, 'encode' =>
|
151
|
+
'accountId' => { 'value' => account_id, 'encode' => false },
|
152
|
+
'participantId' => { 'value' => participant_id, 'encode' => false }
|
153
153
|
)
|
154
154
|
_query_url = APIHelper.clean_url _query_builder
|
155
155
|
|
@@ -202,7 +202,7 @@ module WebRtc
|
|
202
202
|
_query_builder << '/accounts/{accountId}/sessions'
|
203
203
|
_query_builder = APIHelper.append_url_with_template_parameters(
|
204
204
|
_query_builder,
|
205
|
-
'accountId' => { 'value' => account_id, 'encode' =>
|
205
|
+
'accountId' => { 'value' => account_id, 'encode' => false }
|
206
206
|
)
|
207
207
|
_query_url = APIHelper.clean_url _query_builder
|
208
208
|
|
@@ -264,8 +264,8 @@ module WebRtc
|
|
264
264
|
_query_builder << '/accounts/{accountId}/sessions/{sessionId}'
|
265
265
|
_query_builder = APIHelper.append_url_with_template_parameters(
|
266
266
|
_query_builder,
|
267
|
-
'accountId' => { 'value' => account_id, 'encode' =>
|
268
|
-
'sessionId' => { 'value' => session_id, 'encode' =>
|
267
|
+
'accountId' => { 'value' => account_id, 'encode' => false },
|
268
|
+
'sessionId' => { 'value' => session_id, 'encode' => false }
|
269
269
|
)
|
270
270
|
_query_url = APIHelper.clean_url _query_builder
|
271
271
|
|
@@ -325,8 +325,8 @@ module WebRtc
|
|
325
325
|
_query_builder << '/accounts/{accountId}/sessions/{sessionId}'
|
326
326
|
_query_builder = APIHelper.append_url_with_template_parameters(
|
327
327
|
_query_builder,
|
328
|
-
'accountId' => { 'value' => account_id, 'encode' =>
|
329
|
-
'sessionId' => { 'value' => session_id, 'encode' =>
|
328
|
+
'accountId' => { 'value' => account_id, 'encode' => false },
|
329
|
+
'sessionId' => { 'value' => session_id, 'encode' => false }
|
330
330
|
)
|
331
331
|
_query_url = APIHelper.clean_url _query_builder
|
332
332
|
|
@@ -377,8 +377,8 @@ module WebRtc
|
|
377
377
|
_query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants'
|
378
378
|
_query_builder = APIHelper.append_url_with_template_parameters(
|
379
379
|
_query_builder,
|
380
|
-
'accountId' => { 'value' => account_id, 'encode' =>
|
381
|
-
'sessionId' => { 'value' => session_id, 'encode' =>
|
380
|
+
'accountId' => { 'value' => account_id, 'encode' => false },
|
381
|
+
'sessionId' => { 'value' => session_id, 'encode' => false }
|
382
382
|
)
|
383
383
|
_query_url = APIHelper.clean_url _query_builder
|
384
384
|
|
@@ -445,9 +445,9 @@ module WebRtc
|
|
445
445
|
_query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}'
|
446
446
|
_query_builder = APIHelper.append_url_with_template_parameters(
|
447
447
|
_query_builder,
|
448
|
-
'accountId' => { 'value' => account_id, 'encode' =>
|
449
|
-
'sessionId' => { 'value' => session_id, 'encode' =>
|
450
|
-
'participantId' => { 'value' => participant_id, 'encode' =>
|
448
|
+
'accountId' => { 'value' => account_id, 'encode' => false },
|
449
|
+
'sessionId' => { 'value' => session_id, 'encode' => false },
|
450
|
+
'participantId' => { 'value' => participant_id, 'encode' => false }
|
451
451
|
)
|
452
452
|
_query_url = APIHelper.clean_url _query_builder
|
453
453
|
|
@@ -509,9 +509,9 @@ module WebRtc
|
|
509
509
|
_query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}'
|
510
510
|
_query_builder = APIHelper.append_url_with_template_parameters(
|
511
511
|
_query_builder,
|
512
|
-
'accountId' => { 'value' => account_id, 'encode' =>
|
513
|
-
'participantId' => { 'value' => participant_id, 'encode' =>
|
514
|
-
'sessionId' => { 'value' => session_id, 'encode' =>
|
512
|
+
'accountId' => { 'value' => account_id, 'encode' => false },
|
513
|
+
'participantId' => { 'value' => participant_id, 'encode' => false },
|
514
|
+
'sessionId' => { 'value' => session_id, 'encode' => false }
|
515
515
|
)
|
516
516
|
_query_url = APIHelper.clean_url _query_builder
|
517
517
|
|
@@ -564,9 +564,9 @@ module WebRtc
|
|
564
564
|
_query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}/subscriptions'
|
565
565
|
_query_builder = APIHelper.append_url_with_template_parameters(
|
566
566
|
_query_builder,
|
567
|
-
'accountId' => { 'value' => account_id, 'encode' =>
|
568
|
-
'participantId' => { 'value' => participant_id, 'encode' =>
|
569
|
-
'sessionId' => { 'value' => session_id, 'encode' =>
|
567
|
+
'accountId' => { 'value' => account_id, 'encode' => false },
|
568
|
+
'participantId' => { 'value' => participant_id, 'encode' => false },
|
569
|
+
'sessionId' => { 'value' => session_id, 'encode' => false }
|
570
570
|
)
|
571
571
|
_query_url = APIHelper.clean_url _query_builder
|
572
572
|
|
@@ -634,9 +634,9 @@ module WebRtc
|
|
634
634
|
_query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}/subscriptions'
|
635
635
|
_query_builder = APIHelper.append_url_with_template_parameters(
|
636
636
|
_query_builder,
|
637
|
-
'accountId' => { 'value' => account_id, 'encode' =>
|
638
|
-
'participantId' => { 'value' => participant_id, 'encode' =>
|
639
|
-
'sessionId' => { 'value' => session_id, 'encode' =>
|
637
|
+
'accountId' => { 'value' => account_id, 'encode' => false },
|
638
|
+
'participantId' => { 'value' => participant_id, 'encode' => false },
|
639
|
+
'sessionId' => { 'value' => session_id, 'encode' => false }
|
640
640
|
)
|
641
641
|
_query_url = APIHelper.clean_url _query_builder
|
642
642
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# bandwidth
|
2
|
+
#
|
3
|
+
# This file was automatically generated by APIMATIC v2.0
|
4
|
+
# ( https://apimatic.io ).
|
5
|
+
|
6
|
+
require 'json'
|
7
|
+
require 'minitest/autorun'
|
8
|
+
require 'minitest/hell'
|
9
|
+
require 'minitest/pride'
|
10
|
+
require 'minitest/proveit'
|
11
|
+
require 'bandwidth'
|
12
|
+
require_relative '../test_helper'
|
13
|
+
require_relative '../http_response_catcher'
|
14
|
+
|
15
|
+
class ControllerTestBase < Minitest::Test
|
16
|
+
parallelize_me!
|
17
|
+
include Bandwidth
|
18
|
+
|
19
|
+
# Create configuration and set any test parameters
|
20
|
+
CONFIG = Configuration.new
|
21
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# bandwidth
|
2
|
+
#
|
3
|
+
# This file was automatically generated by APIMATIC v2.0
|
4
|
+
# ( https://apimatic.io ).
|
5
|
+
|
6
|
+
class HttpResponseCatcher < Bandwidth::HttpCallBack
|
7
|
+
attr_accessor :response
|
8
|
+
|
9
|
+
def on_before_request(request)
|
10
|
+
end
|
11
|
+
|
12
|
+
# Catching the response
|
13
|
+
def on_after_response(response)
|
14
|
+
@response = response
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
|
19
|
+
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
# bandwidth
|
2
|
+
#
|
3
|
+
# This file was automatically generated by APIMATIC v2.0
|
4
|
+
# ( https://apimatic.io ).
|
5
|
+
|
6
|
+
require 'tempfile'
|
7
|
+
require 'open-uri'
|
8
|
+
|
9
|
+
class TestHelper
|
10
|
+
|
11
|
+
@cache = Hash.new
|
12
|
+
|
13
|
+
# Class method to compare the received headers with the expected headers.
|
14
|
+
# @param [Hash] A hash of expected headers (keys in lower case).
|
15
|
+
# @param [Hash] A hash of received headers.
|
16
|
+
# @param [Boolean, optional] A flag which determines if we allow extra headers.
|
17
|
+
def self.match_headers(expected_headers,
|
18
|
+
received_headers,
|
19
|
+
allow_extra: true)
|
20
|
+
return false if ((received_headers.length < expected_headers.length) ||
|
21
|
+
((allow_extra == false) && (received_headers.length > expected_headers.length)))
|
22
|
+
|
23
|
+
received_headers = Hash[received_headers.map{|k, v| [k.to_s.downcase, v]}]
|
24
|
+
expected_headers.each do |e_key, e_value|
|
25
|
+
return false unless received_headers.key?(e_key)
|
26
|
+
return false if ((e_value != nil) &&
|
27
|
+
(e_value != received_headers[e_key]))
|
28
|
+
end
|
29
|
+
|
30
|
+
return true
|
31
|
+
end
|
32
|
+
|
33
|
+
# Class method to compare the received body with the expected body.
|
34
|
+
# @param [Dynamic] The expected body.
|
35
|
+
# @param [Dynamic] The received body.
|
36
|
+
# @param [Boolean, optional] A flag which determines if we check values in dictionaries.
|
37
|
+
# @param [Boolean, optional] A flag which determines if we check the order of array elements.
|
38
|
+
# @param [Boolean, optional] A flag which determines if we check the count of array elements.
|
39
|
+
def self.match_body(expected_body,
|
40
|
+
received_body,
|
41
|
+
check_values: false,
|
42
|
+
check_order: false,
|
43
|
+
check_count: false)
|
44
|
+
if expected_body.instance_of? Hash
|
45
|
+
return false unless received_body.instance_of? Hash
|
46
|
+
for key in expected_body.keys
|
47
|
+
return false unless received_body.keys.include? key
|
48
|
+
if check_values or expected_body[key].instance_of? Hash
|
49
|
+
return false unless TestHelper.match_body(expected_body[key],
|
50
|
+
received_body[key],
|
51
|
+
check_values: check_values,
|
52
|
+
check_order: check_order,
|
53
|
+
check_count: check_count)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
elsif expected_body.instance_of? Array
|
57
|
+
return False unless received_body.instance_of? Array
|
58
|
+
if check_count == true && (expected_body.length != received_body.length)
|
59
|
+
return false
|
60
|
+
else
|
61
|
+
previous_matches = Array.new
|
62
|
+
expected_body.each.with_index do |expected_element, i|
|
63
|
+
matches = (received_body.map.with_index do |received_element, j|
|
64
|
+
j if TestHelper.match_body(expected_element,
|
65
|
+
received_element,
|
66
|
+
check_values: check_values,
|
67
|
+
check_order: check_order,
|
68
|
+
check_count: check_count)
|
69
|
+
end).compact
|
70
|
+
return false if matches.length == 0
|
71
|
+
if check_order == true
|
72
|
+
return false if (i != 0 && matches.map{|x| previous_matches.map{|y| y > x}.all?}.all?)
|
73
|
+
previous_matches = matches
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
elsif expected_body != received_body
|
78
|
+
return false
|
79
|
+
end
|
80
|
+
return true
|
81
|
+
end
|
82
|
+
|
83
|
+
# Class method which takes a URL, downloads the file (if not already downloaded
|
84
|
+
# for this test session) and returns the path of the file.
|
85
|
+
# @param [String] The URL of the required file.
|
86
|
+
def self.get_file(url)
|
87
|
+
unless @cache.keys.include? url
|
88
|
+
@cache[url] = Tempfile.new('APIMatic')
|
89
|
+
@cache[url].binmode
|
90
|
+
@cache[url].write(open(url, {ssl_ca_cert: Certifi.where}).read)
|
91
|
+
end
|
92
|
+
return @cache[url].path
|
93
|
+
end
|
94
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bandwidth-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- APIMatic SDK Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logging
|
@@ -106,6 +106,40 @@ dependencies:
|
|
106
106
|
- - "~>"
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: 3.2.4
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: minitest
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - "~>"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '5.14'
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 5.14.1
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '5.14'
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: 5.14.1
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: minitest-proveit
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - "~>"
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '1.0'
|
136
|
+
type: :development
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - "~>"
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '1.0'
|
109
143
|
description: Bandwidth's set of APIs
|
110
144
|
email: support@apimatic.io
|
111
145
|
executables: []
|
@@ -137,16 +171,22 @@ files:
|
|
137
171
|
- lib/bandwidth/messaging_lib/messaging/exceptions/messaging_exception.rb
|
138
172
|
- lib/bandwidth/messaging_lib/messaging/models/bandwidth_callback_message.rb
|
139
173
|
- lib/bandwidth/messaging_lib/messaging/models/bandwidth_message.rb
|
174
|
+
- lib/bandwidth/messaging_lib/messaging/models/bandwidth_message_item.rb
|
175
|
+
- lib/bandwidth/messaging_lib/messaging/models/bandwidth_messages_list.rb
|
140
176
|
- lib/bandwidth/messaging_lib/messaging/models/deferred_result.rb
|
141
177
|
- lib/bandwidth/messaging_lib/messaging/models/media.rb
|
142
178
|
- lib/bandwidth/messaging_lib/messaging/models/message_request.rb
|
179
|
+
- lib/bandwidth/messaging_lib/messaging/models/page_info.rb
|
180
|
+
- lib/bandwidth/messaging_lib/messaging/models/priority_enum.rb
|
143
181
|
- lib/bandwidth/messaging_lib/messaging/models/tag.rb
|
144
182
|
- lib/bandwidth/models/base_model.rb
|
145
183
|
- lib/bandwidth/two_factor_auth_lib/two_factor_auth.rb
|
146
184
|
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/client.rb
|
147
|
-
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/api_controller.rb
|
148
185
|
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb
|
149
|
-
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/
|
186
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/mfa_controller.rb
|
187
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/error_with_request_exception.rb
|
188
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/forbidden_request_exception.rb
|
189
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/unauthorized_request_exception.rb
|
150
190
|
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_code_request_schema.rb
|
151
191
|
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_messaging_response.rb
|
152
192
|
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
|
@@ -188,8 +228,8 @@ files:
|
|
188
228
|
- lib/bandwidth/voice_lib/voice/models/api_call_state_response.rb
|
189
229
|
- lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb
|
190
230
|
- lib/bandwidth/voice_lib/voice/models/api_modify_call_request.rb
|
231
|
+
- lib/bandwidth/voice_lib/voice/models/api_modify_conference_request.rb
|
191
232
|
- lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb
|
192
|
-
- lib/bandwidth/voice_lib/voice/models/call_engine_modify_conference_request.rb
|
193
233
|
- lib/bandwidth/voice_lib/voice/models/callback_method_enum.rb
|
194
234
|
- lib/bandwidth/voice_lib/voice/models/conference_detail.rb
|
195
235
|
- lib/bandwidth/voice_lib/voice/models/conference_event_method_enum.rb
|
@@ -224,6 +264,9 @@ files:
|
|
224
264
|
- lib/bandwidth/web_rtc_lib/web_rtc/models/publish_permission_enum.rb
|
225
265
|
- lib/bandwidth/web_rtc_lib/web_rtc/models/session.rb
|
226
266
|
- lib/bandwidth/web_rtc_lib/web_rtc/models/subscriptions.rb
|
267
|
+
- test/controllers/controller_test_base.rb
|
268
|
+
- test/http_response_catcher.rb
|
269
|
+
- test/test_helper.rb
|
227
270
|
homepage: https://apimatic.io
|
228
271
|
licenses:
|
229
272
|
- MIT
|
@@ -234,7 +277,7 @@ require_paths:
|
|
234
277
|
- lib
|
235
278
|
required_ruby_version: !ruby/object:Gem::Requirement
|
236
279
|
requirements:
|
237
|
-
- - "
|
280
|
+
- - ">="
|
238
281
|
- !ruby/object:Gem::Version
|
239
282
|
version: '2.0'
|
240
283
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -243,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
286
|
- !ruby/object:Gem::Version
|
244
287
|
version: '0'
|
245
288
|
requirements: []
|
246
|
-
rubygems_version: 3.
|
289
|
+
rubygems_version: 3.2.3
|
247
290
|
signing_key:
|
248
291
|
specification_version: 4
|
249
292
|
summary: bandwidth
|