Sha256: 57c9f6a3e52d9ab20bee8ffbe19f9a0514fbf9cfd1c7b7d041b27b78054f2e1e
Contents?: true
Size: 421 Bytes
Versions: 25
Compression:
Stored size: 421 Bytes
Contents
module Ratis class Area attr_accessor :area, :description def self.all response = Request.get('Getareas') return [] unless response.success? response.to_array(:getareas_response, :areainfo).map do |areainfo| atis_area = Area.new atis_area.area = areainfo[:area] atis_area.description = areainfo[:description] atis_area end end end end
Version data entries
25 entries across 25 versions & 1 rubygems