Module: AvataxClient::ReverseCoercion::ClassMethods
- Defined in:
- lib/avatax_client/reverse_coercion.rb
Overview
Class methods
Instance Method Summary collapse
-
#collection_to_body(values) ⇒ Array
Override to allow for Modification at the colleciton level.
Instance Method Details
#collection_to_body(values) ⇒ Array
Override to allow for Modification at the colleciton level. Defaults to calling ‘.to_body` for each element.
15 16 17 |
# File 'lib/avatax_client/reverse_coercion.rb', line 15 def collection_to_body(values) values.map(&:to_body) end |