bandwidth-sdk 9.4.0 → 9.4.1

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: 18a1aa70f505740cb401da02868903300dd1dea4bad46e34334387a24b5ed391
4
- data.tar.gz: c6d3de5ab878190e7a7b9fe29fd503b240aa3434c3fd54b72bce236d1ddfafd9
3
+ metadata.gz: 7b7e5b0e9890b1d9a0d92bca32e5e8197efa6110c70cfb2648a13219f5e51f38
4
+ data.tar.gz: 6955fba0a7d0c5245b10211e1cf49c99a612d6cfb80021e41248b3de8a83896b
5
5
  SHA512:
6
- metadata.gz: 97b472c59acf4f4fe5552a5a7c561d0b36fdbdbeb7c240fc0d3c4dfcf3eee3a46d0ca5316325f1245086ab6efc91101a80a9826d49078ccee6d2f7563db6171c
7
- data.tar.gz: 526b08eeab6f9335208edd49b2c3ea7b01193b4077254374d5cf496d20048231ff990029a92c2e4c33013657ef5a5cad7705296073910a5b6406862d7d06ee9b
6
+ metadata.gz: bbd9d8709867f56cffcc8335a16b157908536dbd5512ffb7dd01fc9f623b21b1cd398f12ec2679872e0d3d490fc69d95c93d979a4c754c2d434ef0a6f87a9e7b
7
+ data.tar.gz: 36b3209ec8b26ddb55759bcddd5de4abe8413ec062c5ed14637dbd14c22133f894e1cc5fe08c4c5b31e7f17cff58b40fddf60cbd321785543d9158d5cacf3c8d
data/README.md CHANGED
@@ -156,7 +156,10 @@ create_participant_response = web_rtc_client.create_participant(account_id, :bod
156
156
  participant_id = create_participant_response.data.participant.id
157
157
  puts participant_id
158
158
 
159
- web_rtc_client.add_participant_to_session(account_id, session_id, participant_id)
159
+ body = Subscriptions.new
160
+ body.session_id = "1234-abcd"
161
+
162
+ web_rtc_client.add_participant_to_session(account_id, session_id, participant_id, body: body)
160
163
  ```
161
164
 
162
165
  ## Supported Ruby Versions
@@ -3,8 +3,11 @@
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
+ require 'faraday/follow_redirects'
7
+ require 'faraday/gzip'
6
8
  require 'faraday/http_cache'
7
- require 'faraday_middleware'
9
+ require 'faraday/multipart'
10
+ require 'faraday/retry'
8
11
 
9
12
  module Bandwidth
10
13
  # An implementation of HttpClient.
@@ -15,8 +18,8 @@ module Bandwidth
15
18
  cache: false, verify: true)
16
19
  @connection = Faraday.new do |faraday|
17
20
  faraday.use Faraday::HttpCache, serializer: Marshal if cache
18
- faraday.use FaradayMiddleware::FollowRedirects
19
- faraday.use :gzip
21
+ faraday.use Faraday::FollowRedirects::Middleware
22
+ faraday.request :gzip
20
23
  faraday.request :multipart
21
24
  faraday.request :url_encoded
22
25
  faraday.ssl[:ca_file] = Certifi.where
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: 9.4.0
4
+ version: 9.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bandwidth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-10 00:00:00.000000000 Z
11
+ date: 2022-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -28,24 +28,66 @@ dependencies:
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '3.0'
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
32
42
  - !ruby/object:Gem::Version
33
43
  version: '1.0'
34
- - - "<="
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '3.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: faraday-follow_redirects
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '0.3'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '0.3'
61
+ - !ruby/object:Gem::Dependency
62
+ name: faraday-gzip
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
35
66
  - !ruby/object:Gem::Version
36
- version: 1.9.3
67
+ version: 0.1.0
37
68
  type: :runtime
38
69
  prerelease: false
39
70
  version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: 0.1.0
75
+ - !ruby/object:Gem::Dependency
76
+ name: faraday-multipart
77
+ requirement: !ruby/object:Gem::Requirement
40
78
  requirements:
41
79
  - - "~>"
42
80
  - !ruby/object:Gem::Version
43
81
  version: '1.0'
44
- - - "<="
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
45
87
  - !ruby/object:Gem::Version
46
- version: 1.9.3
88
+ version: '1.0'
47
89
  - !ruby/object:Gem::Dependency
48
- name: faraday_middleware
90
+ name: faraday-retry
49
91
  requirement: !ruby/object:Gem::Requirement
50
92
  requirements:
51
93
  - - "~>"
@@ -140,6 +182,20 @@ dependencies:
140
182
  - - "~>"
141
183
  - !ruby/object:Gem::Version
142
184
  version: '1.0'
185
+ - !ruby/object:Gem::Dependency
186
+ name: test-unit
187
+ requirement: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ type: :development
193
+ prerelease: false
194
+ version_requirements: !ruby/object:Gem::Requirement
195
+ requirements:
196
+ - - ">="
197
+ - !ruby/object:Gem::Version
198
+ version: '0'
143
199
  description: The official client SDK for Bandwidht's Voice, Messaging, MFA, and WebRTC
144
200
  APIs
145
201
  email: dx@bandwidth.com