mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2025-01-18 21:40:48 +00:00
pass payload for call_vendor_request
patch bump
This commit is contained in:
parent
0bac7eaf3a
commit
c67ce47026
@ -77,7 +77,10 @@ module OBSWS
|
|||||||
end
|
end
|
||||||
|
|
||||||
def call_vendor_request(name, type_, data = nil)
|
def call_vendor_request(name, type_, data = nil)
|
||||||
call(requestType, requestData)
|
payload = { vendorName: name, requestType: type_ }
|
||||||
|
payload[:requestData] = data if data
|
||||||
|
resp = call("CallVendorRequest", payload)
|
||||||
|
Mixin::Response.new(resp, resp.keys)
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_hotkey_list
|
def get_hotkey_list
|
||||||
|
@ -11,7 +11,7 @@ module OBSWS
|
|||||||
end
|
end
|
||||||
|
|
||||||
def patch
|
def patch
|
||||||
2
|
3
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_a
|
def to_a
|
||||||
|
Loading…
Reference in New Issue
Block a user