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