Class: Decidim::Votings::PollingStationType

Inherits:
Api::Types::BaseObject
  • Object
show all
Defined in:
lib/decidim/api/polling_station_type.rb

Overview

This type represents a polling station.

Instance Method Summary collapse

Instance Method Details

#coordinatesObject



19
20
21
# File 'lib/decidim/api/polling_station_type.rb', line 19

def coordinates
  [object.latitude, object.longitude]
end