added missing response classes

patch bump
This commit is contained in:
norm 2022-11-03 04:11:59 +00:00
parent 5b0ce79e46
commit 0bac7eaf3a
3 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
obsws (0.1.0) obsws (0.1.2)
observer (~> 0.1.1) observer (~> 0.1.1)
waitutil (~> 0.2.1) waitutil (~> 0.2.1)
websocket-driver (~> 0.7.5) websocket-driver (~> 0.7.5)

View File

@ -329,6 +329,7 @@ module OBSWS
def get_special_inputs def get_special_inputs
resp = call("GetSpecialInputs") resp = call("GetSpecialInputs")
Mixin::Response.new(resp, resp.keys)
end end
def create_input( def create_input(
@ -346,6 +347,7 @@ module OBSWS
sceneItemEnabled: scene_item_enabled sceneItemEnabled: scene_item_enabled
} }
resp = call("CreateInput", payload) resp = call("CreateInput", payload)
Mixin::Response.new(resp, resp.keys)
end end
def remove_input(name) def remove_input(name)
@ -828,6 +830,7 @@ module OBSWS
def stop_record def stop_record
resp = call("StopRecord") resp = call("StopRecord")
Mixin::Response.new(resp, resp.keys)
end end
def toggle_record_pause def toggle_record_pause

View File

@ -11,7 +11,7 @@ module OBSWS
end end
def patch def patch
1 2
end end
def to_a def to_a