lib/submodules/ably-ruby/lib/ably/realtime/connection.rb in ably-rest-0.8.1 vs lib/submodules/ably-ruby/lib/ably/realtime/connection.rb in ably-rest-0.8.2
- old
+ new
@@ -198,11 +198,11 @@
end
end
end
# @!attribute [r] recovery_key
- # @return [String] recovery key that can be used by another client to recover this connection with the :recover option
+ # @return [String] recovery key that can be used by another client to recover this connection with the :recover option
def recovery_key
"#{key}:#{serial}" if connection_resumable?
end
# Following a new connection being made, the connection ID, connection key
@@ -368,10 +368,10 @@
# @api private
def clear_error_reason
@error_reason = nil
end
- # Triggers registered callbacks for a successful connection resume event
+ # Executes registered callbacks for a successful connection resume event
# @api private
def resumed
resume_callbacks.each(&:call)
end