Sha256: 5521073147af7a29bc60f36bfb0ee9d32fec2f0700fe761bf72a244fe0e0767d

Contents?: true

Size: 425 Bytes

Versions: 8

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

module Meteoservice
  class Meteo
    attr_reader :data, :phenomena, :pressure, :temperature, :wind,
                :relwet, :heat

    def initialize(tags)
      @data = tags[:data]
      @phenomena = tags[:phenomena]
      @pressure = tags[:pressure]
      @temperature = tags[:temperature]
      @wind = tags[:wind]
      @relwet = tags[:relwet]
      @heat = tags[:heat]
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
meteoservice-0.2.7 lib/meteoservice/meteo.rb
meteoservice-0.2.6 lib/meteoservice/meteo.rb
meteoservice-0.2.5 lib/meteoservice/meteo.rb
meteoservice-0.2.4 lib/meteoservice/meteo.rb
meteoservice-0.2.2 lib/meteoservice/meteo.rb
meteoservice-0.2.1 lib/meteoservice/meteo.rb
meteoservice-0.2.0 lib/meteoservice/meteo.rb
meteoservice-0.1.0 lib/meteoservice/meteo.rb