Method: Unit::CashDeposit::ListByCoordinatesParams#to_hash
- Defined in:
- lib/unit/models/cash_deposit/list_by_coordinates_params.rb
#to_hash ⇒ Object
22 23 24 25 26 27 28 29 30 |
# File 'lib/unit/models/cash_deposit/list_by_coordinates_params.rb', line 22 def to_hash params = { "page[limit]": limit, "page[offset]": offset, "filter[coordinates]": coordinates.represent, "filter[serviceType]": service_type } params.compact end |