lib/anycable/rails/actioncable/connection.rb in anycable-rails-0.5.3 vs lib/anycable/rails/actioncable/connection.rb in anycable-rails-0.5.4

- old
+ new

@@ -4,18 +4,19 @@ require "anycable/rails/refinements/subscriptions" require "anycable/rails/actioncable/channel" module ActionCable module Connection + # rubocop:disable Metrics/ClassLength class Base # :nodoc: using Anycable::Refinements::Subscriptions attr_reader :socket class << self def call(socket, **options) - new(socket, **options) + new(socket, options) end def identified_by(*identifiers) super Array(identifiers).each do |identifier| @@ -134,7 +135,8 @@ def access_logs? Anycable.config.access_logs_disabled == false end end + # rubocop:enable Metrics/ClassLength end end