Skip to content

Commit

Permalink
Merge pull request #525 from bitflyer-tools/misc/obeyRubocop
Browse files Browse the repository at this point in the history
👕 Obey Rubocop
  • Loading branch information
unhappychoice authored Jan 1, 2025
2 parents b7b2b9a + cf51469 commit 91e9065
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/bitflyer/realtime/client.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative './websocket'
require_relative 'websocket'

module Bitflyer
module Realtime
Expand Down
2 changes: 1 addition & 1 deletion lib/bitflyer/realtime/websocket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def authenticated(json:)
end

def subscribe_channels
@channel_callbacks.each do |channel_name, _|
@channel_callbacks.each_key do |channel_name|
debug_log "42#{{ subscribe: channel_name }.to_json}"
@websocket_client.send "42#{['subscribe', channel_name].to_json}"
end
Expand Down

0 comments on commit 91e9065

Please sign in to comment.