class CDMDEXER::GeoNameToLocation

Public Class Methods

format(value) click to toggle source
# File lib/cdmdexer/formatters.rb, line 22
def self.format(value)
  return if !value.respond_to?(:fetch)
  return if !value['lat'] || !value['lng']
  "#{value['lat']},#{value['lng']}"
end