mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2024-11-15 18:50:47 +00:00
typo fix
This commit is contained in:
parent
e15e17cc9f
commit
88b2eabc0c
@ -71,7 +71,7 @@ module OBSWS
|
|||||||
def initialize(**kwargs)
|
def initialize(**kwargs)
|
||||||
kwargs[:subs] ||= SUBS::LOW_VOLUME
|
kwargs[:subs] ||= SUBS::LOW_VOLUME
|
||||||
@base_client = Base.new(**kwargs)
|
@base_client = Base.new(**kwargs)
|
||||||
logger.info("#{self} succesfully identified with server")
|
logger.info("#{self} successfully identified with server")
|
||||||
@base_client.updater = ->(op_code, data) {
|
@base_client.updater = ->(op_code, data) {
|
||||||
if op_code == Mixin::OPCodes::EVENT
|
if op_code == Mixin::OPCodes::EVENT
|
||||||
logger.debug("received: #{data}")
|
logger.debug("received: #{data}")
|
||||||
|
@ -16,7 +16,7 @@ module OBSWS
|
|||||||
|
|
||||||
def initialize(**kwargs)
|
def initialize(**kwargs)
|
||||||
@base_client = Base.new(**kwargs)
|
@base_client = Base.new(**kwargs)
|
||||||
logger.info("#{self} succesfully identified with server")
|
logger.info("#{self} successfully identified with server")
|
||||||
@base_client.updater = ->(op_code, data) {
|
@base_client.updater = ->(op_code, data) {
|
||||||
logger.debug("response received: #{data}")
|
logger.debug("response received: #{data}")
|
||||||
@response = data if op_code == Mixin::OPCodes::REQUESTRESPONSE
|
@response = data if op_code == Mixin::OPCodes::REQUESTRESPONSE
|
||||||
|
Loading…
Reference in New Issue
Block a user