lib/submodules/ably-ruby/lib/ably/models/message.rb in ably-rest-0.8.3 vs lib/submodules/ably-ruby/lib/ably/models/message.rb in ably-rest-0.8.5
- old
+ new
@@ -129,10 +129,10 @@
def set_hash_object(hash)
@hash_object = IdiomaticRubyWrapper(hash.clone.freeze, stop_at: [:data])
end
def logger
- return logger if logger
+ return @logger if @logger
protocol_message.logger if protocol_message
end
end
end