Class: Decidim::Core::CoordinatesType

Inherits:
Api::Types::BaseObject show all
Defined in:
decidim-core/lib/decidim/api/types/coordinates_type.rb

Overview

This type represents a Decidim's global property.

Instance Method Summary collapse

Instance Method Details

#latitudeObject


12
13
14
# File 'decidim-core/lib/decidim/api/types/coordinates_type.rb', line 12

def latitude
  object[0]
end

#longitudeObject


16
17
18
# File 'decidim-core/lib/decidim/api/types/coordinates_type.rb', line 16

def longitude
  object[1]
end