Skip to content

Commit 982a06b

Browse files
authored
Merge pull request #31 from Bandwidth/task/update-machine-detection-name
DX-2243 Update Machine Detection Model Name
2 parents 6839749 + ee06b87 commit 982a06b

File tree

5 files changed

+223
-223
lines changed

5 files changed

+223
-223
lines changed

.github/workflows/validate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
deploy:
10-
name: Validate SDK
10+
name: Validate SDK
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
@@ -24,7 +24,7 @@ jobs:
2424
USER_NUMBER: ${{ secrets.USER_NUMBER }}
2525
BASE_CALLBACK_URL: ${{ secrets.BASE_CALLBACK_URL }}
2626
- uses: Bandwidth/[email protected]
27-
if: always()
27+
if: failure() && !github.event.pull_request.draft
2828
with:
2929
job-status: ${{ job.status }}
3030
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}

lib/bandwidth/voice_lib/voice.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
require_relative 'voice/models/conference_state.rb'
1818
require_relative 'voice/models/conference_member_state.rb'
1919
require_relative 'voice/models/conference_recording_metadata.rb'
20-
require_relative 'voice/models/machine_detection_request.rb'
20+
require_relative 'voice/models/machine_detection_configuration.rb'
2121
require_relative 'voice/models/transcribe_recording_request.rb'
2222
require_relative 'voice/models/transcription_response.rb'
2323
require_relative 'voice/models/transcription_metadata.rb'

lib/bandwidth/voice_lib/voice/models/create_call_request.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def self.from_hash(hash)
274274
disconnect_method =
275275
hash.key?('disconnectMethod') ? hash['disconnectMethod'] : SKIP
276276
tag = hash.key?('tag') ? hash['tag'] : SKIP
277-
machine_detection = MachineDetectionRequest.from_hash(hash['machineDetection']) if
277+
machine_detection = MachineDetectionConfiguration.from_hash(hash['machineDetection']) if
278278
hash['machineDetection']
279279

280280
# Create object from extracted values.

0 commit comments

Comments
 (0)