lib/novaposhta_api/models/city.rb in novaposhta_api-0.1.9 vs lib/novaposhta_api/models/city.rb in novaposhta_api-0.2.0
- old
+ new
@@ -1,15 +1,15 @@
# frozen_string_literal: true
module NovaposhtaApi
module Models
class City < Model
- property :ref, from: :Ref
- property :city_id, from: :CityID
- property :area, from: :Area
- property :description, from: :Description
- property :description_ru, from: :DescriptionRu
- property :settlement_type_description, from: :SettlementTypeDescription
- property :settlement_type_description_ru, from: :SettlementTypeDescriptionRu
+ property :Ref
+ property :CityID
+ property :Area
+ property :Description
+ property :DescriptionRu
+ property :SettlementTypeDescription
+ property :SettlementTypeDescriptionRu
end
end
end