Class: Decidim::Core::CoordinatesType
- Inherits:
-
Api::Types::BaseObject
- Object
- Api::Types::BaseObject
- Decidim::Core::CoordinatesType
- Defined in:
- lib/decidim/api/types/coordinates_type.rb
Overview
This type represents a Decidim’s global property.
Instance Method Summary collapse
Instance Method Details
#latitude ⇒ Object
12 13 14 |
# File 'lib/decidim/api/types/coordinates_type.rb', line 12 def latitude object[0] end |
#longitude ⇒ Object
16 17 18 |
# File 'lib/decidim/api/types/coordinates_type.rb', line 16 def longitude object[1] end |