lib/picky/query/allocation.rb in picky-4.13.0 vs lib/picky/query/allocation.rb in picky-4.13.1
- old
+ new
@@ -103,17 +103,9 @@
# Transform the allocation into result form.
#
def to_result
[self.result_identifier, self.score, self.count, @combinations.to_result, self.ids] if self.count && self.count > 0
end
-
- # Json representation of this allocation.
- #
- # Note: Forwards to to_result.
- #
- def to_json options = {}
- MultiJson.encode to_result, options
- end
#
#
def to_qualifiers
@combinations.to_qualifiers
\ No newline at end of file