lib/submodules/ably-ruby/lib/ably/models/connection_details.rb in ably-rest-1.1.6 vs lib/submodules/ably-ruby/lib/ably/models/connection_details.rb in ably-rest-1.1.7

- old
+ new

@@ -36,9 +36,11 @@ [:connection_state_ttl, :max_idle_interval].each do |duration_field| if self.attributes[duration_field] self.attributes[duration_field] = (self.attributes[duration_field].to_f / 1000).round end end + self.attributes[:max_message_size] ||= 65536 + self.attributes[:max_frame_size] ||= 524288 self.attributes.freeze end %w(client_id connection_key max_message_size max_frame_size max_inbound_rate connection_state_ttl max_idle_interval server_id).each do |attribute| define_method attribute do