Class: Decidim::Votings::PollingStationType
- Inherits:
-
Api::Types::BaseObject
- Object
- Api::Types::BaseObject
- Decidim::Votings::PollingStationType
- Defined in:
- lib/decidim/api/polling_station_type.rb
Overview
This type represents a polling station.
Instance Method Summary collapse
Instance Method Details
#coordinates ⇒ Object
19 20 21 |
# File 'lib/decidim/api/polling_station_type.rb', line 19 def coordinates [object.latitude, object.longitude] end |