lib/bixby-common/api/json_request.rb in bixby-common-0.4.4 vs lib/bixby-common/api/json_request.rb in bixby-common-0.4.5
- old
+ new
@@ -34,7 +34,16 @@
def to_wire
MultiJson.dump(self)
end
+ # Test if this object is equal to some other object
+ #
+ # @param [JsonRequest] other
+ #
+ # @return [Boolean]
+ def ==(other)
+ operation == other.operation && params == other.params
+ end
+
end # JsonRequest
end # Bixby