lib/ably/modules/conversions.rb in ably-0.8.2 vs lib/ably/modules/conversions.rb in ably-0.8.3

- old
+ new

@@ -107,9 +107,9 @@ return if payload.kind_of?(String) || payload.kind_of?(Hash) || payload.kind_of?(Array) || payload.nil? - raise Ably::Exceptions::UnsupportedDataTypeError.new('Invalid data payload', 400, 40011) + raise Ably::Exceptions::UnsupportedDataType.new('Invalid data payload', 400, 40011) end end end