lib/ably/models/protocol_message.rb in ably-0.7.0 vs lib/ably/models/protocol_message.rb in ably-0.7.1
- old
+ new
@@ -35,10 +35,10 @@
# @!attribute [r] hash
# @return [Hash] Access the protocol message Hash object ruby'fied to use symbolized keys
#
class ProtocolMessage
include Ably::Modules::ModelCommon
- include EventMachine::Deferrable
+ include EventMachine::Deferrable if defined?(Ably::Realtime)
extend Ably::Modules::Enum
# Actions which are sent by the Ably Realtime API
#
# The values correspond to the ints which the API