lib/ably/realtime/channel.rb in ably-0.7.0 vs lib/ably/realtime/channel.rb in ably-0.7.1
- old
+ new
@@ -212,10 +212,16 @@
# @api private
def set_failed_channel_error_reason(error)
@error_reason = error
end
+ # Used by {Ably::Modules::StateEmitter} to debug state changes
+ # @api private
+ def logger
+ client.logger
+ end
+
private
attr_reader :queue, :subscriptions
def setup_event_handlers
__incoming_msgbus__.subscribe(:message) do |message|
@@ -272,14 +278,9 @@
end
end
def rest_channel
client.rest_client.channel(name)
- end
-
- # Used by {Ably::Modules::StateEmitter} to debug state changes
- def logger
- client.logger
end
def connection
client.connection
end