Class: INatGet::Data::Helper::Field::ScalarLocation Private
- Inherits:
-
Location
- Object
- INatGet::Data::Helper::Field
- Location
- INatGet::Data::Helper::Field::ScalarLocation
- Defined in:
- lib/inat-get/data/helpers/defs/scalarlocation.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary
Attributes inherited from INatGet::Data::Helper::Field
Instance Method Summary collapse
- #prepare(value) ⇒ Object private
Methods inherited from Location
Methods inherited from INatGet::Data::Helper::Field
#initialize, #to_api, #to_sequel, #valid?
Constructor Details
This class inherits a constructor from INatGet::Data::Helper::Field
Instance Method Details
#prepare(value) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 10 11 12 |
# File 'lib/inat-get/data/helpers/defs/scalarlocation.rb', line 7 def prepare value { latitude: value[0], longitude: value[1] } end |