Class: Decidim::Votings::PollingStationType

Inherits:
Api::Types::BaseObject show all
Defined in:
decidim-elections/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 'decidim-elections/lib/decidim/api/polling_station_type.rb', line 19

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