mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2024-11-15 18:50:47 +00:00
added missing response classes
patch bump
This commit is contained in:
parent
5b0ce79e46
commit
0bac7eaf3a
@ -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)
|
||||||
|
@ -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
|
||||||
|
@ -11,7 +11,7 @@ module OBSWS
|
|||||||
end
|
end
|
||||||
|
|
||||||
def patch
|
def patch
|
||||||
1
|
2
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_a
|
def to_a
|
||||||
|
Loading…
Reference in New Issue
Block a user