mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2025-01-18 05:20:47 +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
|
||||
|
||||
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
|
||||
|
||||
def get_hotkey_list
|
||||
|
@ -11,7 +11,7 @@ module OBSWS
|
||||
end
|
||||
|
||||
def patch
|
||||
2
|
||||
3
|
||||
end
|
||||
|
||||
def to_a
|
||||
|
Loading…
Reference in New Issue
Block a user