Method: Unit::CashDeposit::ListByCoordinatesParams#initialize

Defined in:
lib/unit/models/cash_deposit/list_by_coordinates_params.rb

#initialize(coordinates, limit = CASH_DEPOSIT_LIMIT, offset = CASH_DEPOSIT_OFFSET, service_type = nil) ⇒ ListByCoordinatesParams

Returns a new instance of ListByCoordinatesParams.

Parameters:

  • coordinates (Coordinates)
  • limit (Integer) (defaults to: CASH_DEPOSIT_LIMIT)
    • optional

  • offset (Integer) (defaults to: CASH_DEPOSIT_OFFSET)
    • optional

  • service_type (String) (defaults to: nil)
    • optional



14
15
16
17
18
19
20
# File 'lib/unit/models/cash_deposit/list_by_coordinates_params.rb', line 14

def initialize(coordinates, limit = CASH_DEPOSIT_LIMIT, offset = CASH_DEPOSIT_OFFSET,
               service_type = nil)
  @limit = limit
  @offset = offset
  @coordinates = coordinates
  @service_type = service_type
end