lib/ably/exceptions.rb in ably-1.0.2 vs lib/ably/exceptions.rb in ably-1.0.3

- old
+ new

@@ -37,10 +37,10 @@ message << "(#{additional_info.join(', ')})" end message.join(' ') end - def as_json + def as_json(*args) { message: "#{self.class}: #{message}", status: @status, code: @code }.delete_if { |key, val| val.nil? }