bandwidth-sdk 11.0.0.pre.beta.3.1 → 11.0.0

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: 8693d77d4bfee8e8282c115a91e8a1bf3e50100497a00250003f8f43f345a80d
4
- data.tar.gz: bc1a9da75a90bd85908f4af3fbffd2cd743ec90d78298c159eb9a303d33c510e
3
+ metadata.gz: f2989e92fa630c0a43a248ed8e99ac3063f9272698cec4700e253dda019675b1
4
+ data.tar.gz: '094d7edc84c2a73b52b939a6a99f4f3a653c3b5be4a71bed33accf6aa306f15c'
5
5
  SHA512:
6
- metadata.gz: 303261aff338a80019bbc9f2025e223c0fe1f3d483dc9130fc553cd34137cca66afdcb863ec107280dfbd00077a2164aadca69dc64fab00858b348d2b4cd1e70
7
- data.tar.gz: f1049381061fb44ef464da2f7e0a5c8871300e4363e733b0cc3c79e19a0e193a0a0f67921422719ee9fa5daa2c0a585f68b2c498274c65e0cecf50dcf4d66cb2
6
+ metadata.gz: 316a05265215c15274a0672e0911c187f701f0b9e601285ad8b35fa37a7a5ea70f97e0e50fb774c9deb9e0d89d062fb3a343e39e1a6e2f9e40b2dff4441a5402
7
+ data.tar.gz: 792a9c5b2977783e86c18cadbd5fe47e26b127a983a37e88c4b6c7bdb7c327968c51d31a1f53918c92c80320c6c3744b8cf8700ba209f39435b1897d4cea933d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bandwidth-sdk (11.0.0.pre.beta.3.1)
4
+ bandwidth-sdk (11.0.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  ox (~> 2.4)
@@ -12,13 +12,15 @@ GEM
12
12
  addressable (2.8.5)
13
13
  public_suffix (>= 2.0.2, < 6.0)
14
14
  ast (2.4.2)
15
+ base64 (0.1.1)
15
16
  byebug (11.1.3)
16
17
  coderay (1.1.3)
17
18
  crack (0.4.5)
18
19
  rexml
19
20
  diff-lcs (1.5.0)
20
21
  docile (1.4.0)
21
- faraday (2.7.10)
22
+ faraday (2.7.11)
23
+ base64
22
24
  faraday-net_http (>= 2.0, < 3.1)
23
25
  ruby2_keywords (>= 0.0.4)
24
26
  faraday-multipart (1.0.4)
data/README.md CHANGED
@@ -14,6 +14,9 @@
14
14
 
15
15
  Bandwidth - the Ruby gem for the Bandwidth
16
16
 
17
+ # Generated with the command:
18
+ `openapi-generator generate -g ruby -i bandwidth.yml -c openapi-config.yml -o ./`
19
+
17
20
  Bandwidth's Communication APIs
18
21
 
19
22
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
@@ -462,8 +462,8 @@
462
462
  null,
463
463
  null,
464
464
  1,
465
- 1349,
466
- 1349,
465
+ 1960,
466
+ 1960,
467
467
  null,
468
468
  2,
469
469
  null,
@@ -484,7 +484,7 @@
484
484
  null,
485
485
  null,
486
486
  13,
487
- 1302,
487
+ 1913,
488
488
  null,
489
489
  null,
490
490
  2,
@@ -493,8 +493,8 @@
493
493
  null,
494
494
  null,
495
495
  null,
496
- 1321,
497
- 1321,
496
+ 1932,
497
+ 1932,
498
498
  null,
499
499
  null,
500
500
  null,
@@ -1379,7 +1379,7 @@
1379
1379
  null,
1380
1380
  null,
1381
1381
  1,
1382
- 278,
1382
+ 290,
1383
1383
  null,
1384
1384
  null,
1385
1385
  null,
@@ -1455,10 +1455,10 @@
1455
1455
  null,
1456
1456
  null,
1457
1457
  10,
1458
- 81,
1458
+ 85,
1459
1459
  1,
1460
1460
  null,
1461
- 80,
1461
+ 84,
1462
1462
  null,
1463
1463
  null,
1464
1464
  9,
@@ -1516,19 +1516,19 @@
1516
1516
  null,
1517
1517
  null,
1518
1518
  9,
1519
- 4,
1519
+ 5,
1520
1520
  null,
1521
1521
  null,
1522
1522
  9,
1523
- 4,
1523
+ 5,
1524
1524
  null,
1525
1525
  null,
1526
1526
  9,
1527
- 4,
1527
+ 5,
1528
1528
  null,
1529
1529
  null,
1530
1530
  9,
1531
- 4,
1531
+ 5,
1532
1532
  null,
1533
1533
  null,
1534
1534
  9,
@@ -1605,7 +1605,7 @@
1605
1605
  0,
1606
1606
  null,
1607
1607
  52,
1608
- 42,
1608
+ 46,
1609
1609
  null,
1610
1610
  null,
1611
1611
  3,
@@ -1616,13 +1616,13 @@
1616
1616
  null,
1617
1617
  null,
1618
1618
  1,
1619
- 48,
1619
+ 52,
1620
1620
  null,
1621
- 12,
1621
+ 13,
1622
1622
  null,
1623
1623
  0,
1624
1624
  null,
1625
- 30,
1625
+ 33,
1626
1626
  null,
1627
1627
  0,
1628
1628
  null,
@@ -9756,6 +9756,6 @@
9756
9756
  ]
9757
9757
  }
9758
9758
  },
9759
- "timestamp": 1692977077
9759
+ "timestamp": 1695742569
9760
9760
  }
9761
9761
  }
data/coverage/index.html CHANGED
@@ -14,7 +14,7 @@
14
14
  <img src="./assets/0.12.3/loading.gif" alt="loading"/>
15
15
  </div>
16
16
  <div id="wrapper" class="hide">
17
- <div class="timestamp">Generated <abbr class="timeago" title="2023-08-25T15:24:37+00:00">2023-08-25T15:24:37+00:00</abbr></div>
17
+ <div class="timestamp">Generated <abbr class="timeago" title="2023-09-26T15:36:09+00:00">2023-09-26T15:36:09+00:00</abbr></div>
18
18
  <ul class="group_tabs"></ul>
19
19
 
20
20
  <div id="content">
@@ -30,7 +30,7 @@
30
30
  covered at
31
31
  <span class="covered_strength">
32
32
  <span class="green">
33
- 6.09
33
+ 6.88
34
34
  </span>
35
35
  </span> hits/line
36
36
  )
@@ -176,7 +176,7 @@
176
176
  <td class="cell--number">180</td>
177
177
  <td class="cell--number">176</td>
178
178
  <td class="cell--number">4</td>
179
- <td class="cell--number">69.68</td>
179
+ <td class="cell--number">86.65</td>
180
180
 
181
181
  </tr>
182
182
 
@@ -209,7 +209,7 @@
209
209
  <td class="cell--number">154</td>
210
210
  <td class="cell--number">136</td>
211
211
  <td class="cell--number">18</td>
212
- <td class="cell--number">8.77</td>
212
+ <td class="cell--number">9.01</td>
213
213
 
214
214
  </tr>
215
215
 
@@ -815,7 +815,7 @@
815
815
  covered at
816
816
  <span class="covered_strength">
817
817
  <span class="green">
818
- 6.6
818
+ 6.66
819
819
  </span>
820
820
  </span> hits/line
821
821
  )
@@ -862,7 +862,7 @@
862
862
  <td class="cell--number">154</td>
863
863
  <td class="cell--number">136</td>
864
864
  <td class="cell--number">18</td>
865
- <td class="cell--number">8.77</td>
865
+ <td class="cell--number">9.01</td>
866
866
 
867
867
  </tr>
868
868
 
@@ -1074,7 +1074,7 @@
1074
1074
  covered at
1075
1075
  <span class="covered_strength">
1076
1076
  <span class="green">
1077
- 32.81
1077
+ 39.33
1078
1078
  </span>
1079
1079
  </span> hits/line
1080
1080
  )
@@ -1132,7 +1132,7 @@
1132
1132
  <td class="cell--number">180</td>
1133
1133
  <td class="cell--number">176</td>
1134
1134
  <td class="cell--number">4</td>
1135
- <td class="cell--number">69.68</td>
1135
+ <td class="cell--number">86.65</td>
1136
1136
 
1137
1137
  </tr>
1138
1138
 
@@ -38314,8 +38314,8 @@
38314
38314
  </div>
38315
38315
 
38316
38316
  <div>
38317
- <li class="covered" data-hits="1349" data-linenumber="286">
38318
- <span class="hits">1349</span>
38317
+ <li class="covered" data-hits="1960" data-linenumber="286">
38318
+ <span class="hits">1960</span>
38319
38319
 
38320
38320
 
38321
38321
 
@@ -38325,8 +38325,8 @@
38325
38325
  </div>
38326
38326
 
38327
38327
  <div>
38328
- <li class="covered" data-hits="1349" data-linenumber="287">
38329
- <span class="hits">1349</span>
38328
+ <li class="covered" data-hits="1960" data-linenumber="287">
38329
+ <span class="hits">1960</span>
38330
38330
 
38331
38331
 
38332
38332
 
@@ -38556,8 +38556,8 @@
38556
38556
  </div>
38557
38557
 
38558
38558
  <div>
38559
- <li class="covered" data-hits="1302" data-linenumber="308">
38560
- <span class="hits">1302</span>
38559
+ <li class="covered" data-hits="1913" data-linenumber="308">
38560
+ <span class="hits">1913</span>
38561
38561
 
38562
38562
 
38563
38563
 
@@ -38655,8 +38655,8 @@
38655
38655
  </div>
38656
38656
 
38657
38657
  <div>
38658
- <li class="covered" data-hits="1321" data-linenumber="317">
38659
- <span class="hits">1321</span>
38658
+ <li class="covered" data-hits="1932" data-linenumber="317">
38659
+ <span class="hits">1932</span>
38660
38660
 
38661
38661
 
38662
38662
 
@@ -38666,8 +38666,8 @@
38666
38666
  </div>
38667
38667
 
38668
38668
  <div>
38669
- <li class="covered" data-hits="1321" data-linenumber="318">
38670
- <span class="hits">1321</span>
38669
+ <li class="covered" data-hits="1932" data-linenumber="318">
38670
+ <span class="hits">1932</span>
38671
38671
 
38672
38672
 
38673
38673
 
@@ -48153,8 +48153,8 @@
48153
48153
  </div>
48154
48154
 
48155
48155
  <div>
48156
- <li class="covered" data-hits="278" data-linenumber="95">
48157
- <span class="hits">278</span>
48156
+ <li class="covered" data-hits="290" data-linenumber="95">
48157
+ <span class="hits">290</span>
48158
48158
 
48159
48159
 
48160
48160
 
@@ -48989,8 +48989,8 @@
48989
48989
  </div>
48990
48990
 
48991
48991
  <div>
48992
- <li class="covered" data-hits="81" data-linenumber="171">
48993
- <span class="hits">81</span>
48992
+ <li class="covered" data-hits="85" data-linenumber="171">
48993
+ <span class="hits">85</span>
48994
48994
 
48995
48995
 
48996
48996
 
@@ -49022,8 +49022,8 @@
49022
49022
  </div>
49023
49023
 
49024
49024
  <div>
49025
- <li class="covered" data-hits="80" data-linenumber="174">
49026
- <span class="hits">80</span>
49025
+ <li class="covered" data-hits="84" data-linenumber="174">
49026
+ <span class="hits">84</span>
49027
49027
 
49028
49028
 
49029
49029
 
@@ -49660,8 +49660,8 @@
49660
49660
  </div>
49661
49661
 
49662
49662
  <div>
49663
- <li class="covered" data-hits="4" data-linenumber="232">
49664
- <span class="hits">4</span>
49663
+ <li class="covered" data-hits="5" data-linenumber="232">
49664
+ <span class="hits">5</span>
49665
49665
 
49666
49666
 
49667
49667
 
@@ -49704,8 +49704,8 @@
49704
49704
  </div>
49705
49705
 
49706
49706
  <div>
49707
- <li class="covered" data-hits="4" data-linenumber="236">
49708
- <span class="hits">4</span>
49707
+ <li class="covered" data-hits="5" data-linenumber="236">
49708
+ <span class="hits">5</span>
49709
49709
 
49710
49710
 
49711
49711
 
@@ -49748,8 +49748,8 @@
49748
49748
  </div>
49749
49749
 
49750
49750
  <div>
49751
- <li class="covered" data-hits="4" data-linenumber="240">
49752
- <span class="hits">4</span>
49751
+ <li class="covered" data-hits="5" data-linenumber="240">
49752
+ <span class="hits">5</span>
49753
49753
 
49754
49754
 
49755
49755
 
@@ -49792,8 +49792,8 @@
49792
49792
  </div>
49793
49793
 
49794
49794
  <div>
49795
- <li class="covered" data-hits="4" data-linenumber="244">
49796
- <span class="hits">4</span>
49795
+ <li class="covered" data-hits="5" data-linenumber="244">
49796
+ <span class="hits">5</span>
49797
49797
 
49798
49798
 
49799
49799
 
@@ -50639,8 +50639,8 @@
50639
50639
  </div>
50640
50640
 
50641
50641
  <div>
50642
- <li class="covered" data-hits="42" data-linenumber="321">
50643
- <span class="hits">42</span>
50642
+ <li class="covered" data-hits="46" data-linenumber="321">
50643
+ <span class="hits">46</span>
50644
50644
 
50645
50645
 
50646
50646
 
@@ -50760,8 +50760,8 @@
50760
50760
  </div>
50761
50761
 
50762
50762
  <div>
50763
- <li class="covered" data-hits="48" data-linenumber="332">
50764
- <span class="hits">48</span>
50763
+ <li class="covered" data-hits="52" data-linenumber="332">
50764
+ <span class="hits">52</span>
50765
50765
 
50766
50766
 
50767
50767
 
@@ -50782,8 +50782,8 @@
50782
50782
  </div>
50783
50783
 
50784
50784
  <div>
50785
- <li class="covered" data-hits="12" data-linenumber="334">
50786
- <span class="hits">12</span>
50785
+ <li class="covered" data-hits="13" data-linenumber="334">
50786
+ <span class="hits">13</span>
50787
50787
 
50788
50788
 
50789
50789
 
@@ -50826,8 +50826,8 @@
50826
50826
  </div>
50827
50827
 
50828
50828
  <div>
50829
- <li class="covered" data-hits="30" data-linenumber="338">
50830
- <span class="hits">30</span>
50829
+ <li class="covered" data-hits="33" data-linenumber="338">
50830
+ <span class="hits">33</span>
50831
50831
 
50832
50832
 
50833
50833
 
@@ -62768,7 +62768,7 @@
62768
62768
 
62769
62769
 
62770
62770
 
62771
- <code class="ruby"> VERSION = ENV.fetch(&#39;GEM_VERSION&#39;)</code>
62771
+ <code class="ruby"> VERSION = &#39;11.0.0&#39;</code>
62772
62772
  </li>
62773
62773
  </div>
62774
62774
 
@@ -14,6 +14,9 @@
14
14
 
15
15
  {{moduleName}} - the Ruby gem for the {{appName}}
16
16
 
17
+ # Generated with the command:
18
+ `openapi-generator generate -g ruby -i bandwidth.yml -c openapi-config.yml -o ./`
19
+
17
20
  {{#appDescriptionWithNewLines}}
18
21
  {{{.}}}
19
22
  {{/appDescriptionWithNewLines}}
@@ -11,5 +11,5 @@ OpenAPI Generator version: 7.0.0
11
11
  =end
12
12
 
13
13
  module Bandwidth
14
- VERSION = ENV.fetch('GEM_VERSION')
14
+ VERSION = '11.0.0'
15
15
  end
@@ -93,7 +93,7 @@ describe 'CallsApi Integration Tests' do
93
93
  expect(data.call_id).to eq($call_info_id)
94
94
  expect(data.account_id).to eq(BW_ACCOUNT_ID)
95
95
  expect(data.application_id).to eq(BW_VOICE_APPLICATION_ID)
96
- expect(data.start_time).to be_instance_of(Time)
96
+ expect(data.start_time).to be_instance_of(Time).or be_nil
97
97
  expect(data.last_update).to be_instance_of(Time)
98
98
  expect(data.state).to be_instance_of(String)
99
99
  expect(data.direction).to eq(direction)
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: 11.0.0.pre.beta.3.1
4
+ version: 11.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bandwidth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-25 00:00:00.000000000 Z
11
+ date: 2023-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -129,7 +129,6 @@ files:
129
129
  - custom_templates/README.mustache
130
130
  - custom_templates/gem.mustache
131
131
  - custom_templates/gemspec.mustache
132
- - custom_templates/version.mustache
133
132
  - docs/AccountStatistics.md
134
133
  - docs/AnswerCallback.md
135
134
  - docs/BridgeCompleteCallback.md
@@ -378,7 +377,6 @@ files:
378
377
  - lib/bandwidth-sdk/version.rb
379
378
  - openapi-config.yml
380
379
  - openapitools.json
381
- - ruby-notes.md
382
380
  - spec/api/calls_api_spec.rb
383
381
  - spec/api/conferences_api_spec.rb
384
382
  - spec/api/media_api_spec.rb
@@ -453,71 +451,71 @@ required_ruby_version: !ruby/object:Gem::Requirement
453
451
  version: '2.7'
454
452
  required_rubygems_version: !ruby/object:Gem::Requirement
455
453
  requirements:
456
- - - ">"
454
+ - - ">="
457
455
  - !ruby/object:Gem::Version
458
- version: 1.3.1
456
+ version: '0'
459
457
  requirements: []
460
458
  rubygems_version: 3.2.33
461
459
  signing_key:
462
460
  specification_version: 4
463
461
  summary: Bandwidth Ruby SDK
464
462
  test_files:
465
- - spec/api/calls_api_spec.rb
466
- - spec/api/conferences_api_spec.rb
467
463
  - spec/api/phone_number_lookup_api_spec.rb
468
464
  - spec/api/recordings_api_spec.rb
465
+ - spec/api/media_api_spec.rb
466
+ - spec/api/conferences_api_spec.rb
469
467
  - spec/api/messages_api_spec.rb
470
- - spec/api/mfa_api_spec.rb
471
468
  - spec/api/statistics_api_spec.rb
472
- - spec/api/media_api_spec.rb
469
+ - spec/api/mfa_api_spec.rb
470
+ - spec/api/calls_api_spec.rb
473
471
  - spec/api_client_spec.rb
474
472
  - spec/api_error_spec.rb
475
473
  - spec/call_utils.rb
476
474
  - spec/configuration_spec.rb
477
475
  - spec/fixtures/ruby_cat.jpeg
478
- - spec/integration/conferences_api_integration_spec.rb
479
- - spec/integration/mfa_api_integration_spec.rb
480
- - spec/integration/messages_api_integration_spec.rb
481
- - spec/integration/recordings_api_integration_spec.rb
482
- - spec/integration/calls_api_integration_spec.rb
483
- - spec/integration/media_api_integration_spec.rb
484
476
  - spec/integration/phone_number_lookup_api_integration_spec.rb
485
477
  - spec/integration/statistics_api_integration_spec.rb
478
+ - spec/integration/media_api_integration_spec.rb
479
+ - spec/integration/recordings_api_integration_spec.rb
480
+ - spec/integration/mfa_api_integration_spec.rb
481
+ - spec/integration/calls_api_integration_spec.rb
482
+ - spec/integration/messages_api_integration_spec.rb
483
+ - spec/integration/conferences_api_integration_spec.rb
484
+ - spec/models/message_spec.rb
485
+ - spec/models/call_state_spec.rb
486
486
  - spec/models/call_state_enum_spec.rb
487
487
  - spec/models/verify_code_request_spec.rb
488
- - spec/models/call_state_spec.rb
489
- - spec/models/bxml/nestable_verb_spec.rb
490
- - spec/models/bxml/verb_spec.rb
491
- - spec/models/bxml/bxml_spec.rb
492
- - spec/models/bxml/response_spec.rb
488
+ - spec/models/deferred_result_spec.rb
489
+ - spec/models/bxml/verbs/stop_gather_spec.rb
490
+ - spec/models/bxml/verbs/hangup_spec.rb
493
491
  - spec/models/bxml/verbs/play_audio_spec.rb
494
- - spec/models/bxml/verbs/custom_param_spec.rb
495
- - spec/models/bxml/verbs/redirect_spec.rb
496
- - spec/models/bxml/verbs/start_transcription_spec.rb
497
- - spec/models/bxml/verbs/pause_recording_spec.rb
498
- - spec/models/bxml/verbs/gather_spec.rb
499
492
  - spec/models/bxml/verbs/transfer_spec.rb
500
- - spec/models/bxml/verbs/stream_param_spec.rb
493
+ - spec/models/bxml/verbs/ring_spec.rb
494
+ - spec/models/bxml/verbs/custom_param_spec.rb
495
+ - spec/models/bxml/verbs/pause_spec.rb
501
496
  - spec/models/bxml/verbs/send_dtmf_spec.rb
497
+ - spec/models/bxml/verbs/start_recording_spec.rb
502
498
  - spec/models/bxml/verbs/stop_recording_spec.rb
503
- - spec/models/bxml/verbs/start_stream_spec.rb
499
+ - spec/models/bxml/verbs/redirect_spec.rb
504
500
  - spec/models/bxml/verbs/phone_number_spec.rb
501
+ - spec/models/bxml/verbs/resume_recording_spec.rb
502
+ - spec/models/bxml/verbs/start_gather_spec.rb
503
+ - spec/models/bxml/verbs/conference_spec.rb
504
+ - spec/models/bxml/verbs/stop_transcription_spec.rb
505
505
  - spec/models/bxml/verbs/sip_uri_spec.rb
506
+ - spec/models/bxml/verbs/pause_recording_spec.rb
506
507
  - spec/models/bxml/verbs/stop_stream_spec.rb
507
- - spec/models/bxml/verbs/speak_sentence_spec.rb
508
- - spec/models/bxml/verbs/stop_gather_spec.rb
509
- - spec/models/bxml/verbs/pause_spec.rb
510
- - spec/models/bxml/verbs/hangup_spec.rb
511
- - spec/models/bxml/verbs/stop_transcription_spec.rb
508
+ - spec/models/bxml/verbs/record_spec.rb
509
+ - spec/models/bxml/verbs/start_stream_spec.rb
510
+ - spec/models/bxml/verbs/stream_param_spec.rb
511
+ - spec/models/bxml/verbs/start_transcription_spec.rb
512
512
  - spec/models/bxml/verbs/bridge_spec.rb
513
513
  - spec/models/bxml/verbs/tag_spec.rb
514
- - spec/models/bxml/verbs/record_spec.rb
515
- - spec/models/bxml/verbs/start_gather_spec.rb
516
- - spec/models/bxml/verbs/conference_spec.rb
517
- - spec/models/bxml/verbs/start_recording_spec.rb
518
- - spec/models/bxml/verbs/resume_recording_spec.rb
519
- - spec/models/bxml/verbs/ring_spec.rb
520
514
  - spec/models/bxml/verbs/forward_spec.rb
521
- - spec/models/deferred_result_spec.rb
522
- - spec/models/message_spec.rb
515
+ - spec/models/bxml/verbs/gather_spec.rb
516
+ - spec/models/bxml/verbs/speak_sentence_spec.rb
517
+ - spec/models/bxml/bxml_spec.rb
518
+ - spec/models/bxml/response_spec.rb
519
+ - spec/models/bxml/verb_spec.rb
520
+ - spec/models/bxml/nestable_verb_spec.rb
523
521
  - spec/spec_helper.rb
@@ -1,7 +0,0 @@
1
- =begin
2
- {{> api_info}}
3
- =end
4
-
5
- module {{moduleName}}
6
- VERSION = ENV.fetch("GEM_VERSION")
7
- end
data/ruby-notes.md DELETED
@@ -1,15 +0,0 @@
1
- # Generate Command
2
- `openapi-generator generate -g ruby -i bandwidth.yml -c openapi-config.yml -o ./`
3
-
4
- # Custom Base URL
5
-
6
- * To get a custom url, instead of setting the `environment` parameter in the config, you must make a custom operation in `configuration.rb`
7
- ``` ruby
8
- "Custom": [
9
- {
10
- url: "https://d6979da481772c167be0edcd10eb64d7.m.pipedream.net",
11
- description: "testing"
12
- }
13
- ],
14
- ```
15
- this must go in `operation_server_settings` and then `:operation => :"Custom",` must go in `new_options = opts.merge(` for the method you are calling within the `?_api.rb` file for the specific api