module AvataxClient::ReverseCoercion::ClassMethods
Class methods
Public Instance Methods
collection_to_body(values)
click to toggle source
Override to allow for Modification at the colleciton level. Defaults to calling ‘.to_body` for each element. @param values [Array] collection items to be transformed. @return [Array]
# File lib/avatax_client/reverse_coercion.rb, line 15 def collection_to_body(values) values.map(&:to_body) end