lib/pubnub/validators/publish.rb in pubnub-3.8.5 vs lib/pubnub/validators/publish.rb in pubnub-4.0.0beta1
- old
+ new
@@ -45,11 +45,11 @@
) if @message.nil?
end
def validate_meta!
fail(
- ArgumentError.new,
- ':meta parameter must me hash.'
+ ArgumentError.new,
+ ':meta parameter must me hash.'
) if !@meta.nil? && @meta.class != Hash
end
end
end
end