def to_h
      {
          country_code: country_code,
          city_code: city_code,
          full_name: full_name,
          full_name_without_diacritics: full_name_without_diacritics,
          subdivision: subdivision,
          function_classifier: function_classifier,
          status: status,
          date: date,
          iata_code: iata_code,
          coordinates: coordinates
      }
    end
def to_h
      {
          country_code: country_code,
          city_code: city_code,
          full_name: full_name,
          full_name_without_diacritics: full_name_without_diacritics,
          subdivision: subdivision,
          function_classifier: function_classifier,
          status: status,
          date: date,
          iata_code: iata_code,
          coordinates: coordinates
      }
    end
Public: The Hash representation of the Location

 Examples

   Locode.find_by_locode('BE ANR').first.to_h
   #=> {:country_code=>"BE", ... }

 Returns a Hash that represents the Location