lib/pricehubble/entity/valuation_request.rb in pricehubble-0.4.2 vs lib/pricehubble/entity/valuation_request.rb in pricehubble-1.0.0
- old
+ new
@@ -41,10 +41,10 @@
# For transportation the +properties+ array must be sanitized
# to reflect the actual API specification.
#
# @return [Array<Hash{String => Mixed}>] the sanitized properties
def sanitize_attr_properties
- properties.map { |prop| { property: prop.attributes(true) } }
+ properties.map { |prop| { property: prop.attributes(sanitize: true) } }
end
# Perform the property valuation request.
#
# @param args [Hash{Symbol => Mixed}] additional options