Module: AppRail::Steps::BackgroundLocation::Region

Included in:
Displayable
Defined in:
lib/app_rail/steps/background_location/region.rb

Instance Method Summary collapse

Instance Method Details

#ar_background_location_region(id:, latitude:, longitude:, radius: 100, event: :entryAndExit) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/app_rail/steps/background_location/region.rb', line 7

def ar_background_location_region(id:, latitude:, longitude:, radius: 100, event: :entryAndExit)
  {
    id: id.to_s,
    latitude: latitude,
    longitude: longitude,
    radius: radius,
    event: event
  }
end