class Weather::Wind
Attributes
chill[R]
the temperature, with wind chill factored in
direction[R]
the direction of the wind in degrees
speed[R]
the windspeed
Public Class Methods
new(payload)
click to toggle source
# File lib/weather-api/wind.rb, line 12 def initialize(payload) @chill = payload[:chill].to_i @direction = payload[:direction].to_i @speed = payload[:speed].to_i end