lib/ably/realtime/client/outgoing_message_dispatcher.rb in ably-0.8.7 vs lib/ably/realtime/client/outgoing_message_dispatcher.rb in ably-0.8.8

- old
+ new

@@ -15,10 +15,16 @@ subscribe_to_outgoing_protocol_message_queue setup_event_handlers end private - attr_reader :client, :connection + def client + @client + end + + def connection + @connection + end def can_send_messages? connection.connected? || connection.closing? end