Skip to content

Commit 75de970

Browse files
committed
Deploy
1 parent c8f1609 commit 75de970

File tree

10 files changed

+41
-5
lines changed

10 files changed

+41
-5
lines changed

bandwidth-sdk-3.11.0.gem

-38 KB
Binary file not shown.

bandwidth-sdk-3.12.0.gem

38 KB
Binary file not shown.

bandwidth.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'bandwidth-sdk'
3-
s.version = '3.11.0'
3+
s.version = '3.12.0'
44
s.summary = 'bandwidth'
55
s.description = 'Bandwidth\'s set of APIs'
66
s.authors = ['APIMatic SDK Generator']

lib/bandwidth.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@
6060
require_relative 'bandwidth/voice_lib/bxml/verbs/ring.rb'
6161
require_relative 'bandwidth/voice_lib/bxml/verbs/send_dtmf.rb'
6262
require_relative 'bandwidth/voice_lib/bxml/verbs/speak_sentence.rb'
63+
require_relative 'bandwidth/voice_lib/bxml/verbs/start_gather.rb'
6364
require_relative 'bandwidth/voice_lib/bxml/verbs/start_recording.rb'
65+
require_relative 'bandwidth/voice_lib/bxml/verbs/stop_gather.rb'
6466
require_relative 'bandwidth/voice_lib/bxml/verbs/stop_recording.rb'
6567
require_relative 'bandwidth/voice_lib/bxml/verbs/transfer.rb'
6668
require_relative 'bandwidth/voice_lib/bxml/verbs/xml_verb.rb'

lib/bandwidth/messaging_lib/messaging/controllers/base_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def initialize(config, http_call_back: nil)
1313
@http_call_back = http_call_back
1414

1515
@global_headers = {
16-
'user-agent' => 'ruby-sdk-refs/tags/ruby3.11.0'
16+
'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.0'
1717
}
1818
end
1919

lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def initialize(config, http_call_back: nil)
1313
@http_call_back = http_call_back
1414

1515
@global_headers = {
16-
'user-agent' => 'ruby-sdk-refs/tags/ruby3.11.0'
16+
'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.0'
1717
}
1818
end
1919

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
require_relative 'xml_verb'
2+
3+
module Bandwidth
4+
module Voice
5+
# The StartGather verb is used to start a gather
6+
class StartGather
7+
include XmlVerb
8+
9+
def to_bxml(xml)
10+
xml.StartGather(compact_hash({
11+
'username' => username,
12+
'password' => password,
13+
'tag' => tag,
14+
'dtmfUrl' => dtmf_url,
15+
'dtmfMethod' => dtmf_method,
16+
}))
17+
end
18+
end
19+
end
20+
end
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
require_relative 'xml_verb'
2+
3+
module Bandwidth
4+
module Voice
5+
# The StopGather verb is used to complete a gather
6+
class StopGather
7+
include XmlVerb
8+
9+
def to_bxml(xml)
10+
xml.StopGather()
11+
end
12+
end
13+
end
14+
end

lib/bandwidth/voice_lib/voice/controllers/base_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def initialize(config, http_call_back: nil)
1313
@http_call_back = http_call_back
1414

1515
@global_headers = {
16-
'user-agent' => 'ruby-sdk-refs/tags/ruby3.11.0'
16+
'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.0'
1717
}
1818
end
1919

lib/bandwidth/web_rtc_lib/web_rtc/controllers/base_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def initialize(config, http_call_back: nil)
1313
@http_call_back = http_call_back
1414

1515
@global_headers = {
16-
'user-agent' => 'ruby-sdk-refs/tags/ruby3.11.0'
16+
'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.0'
1717
}
1818
end
1919

0 commit comments

Comments
 (0)