lib/airports/airport.rb in airports-1.2.0 vs lib/airports/airport.rb in airports-1.3.0

- old
+ new

@@ -1,20 +1,21 @@ module Airports class Airport attr_reader :name, :city, :country, :iata, :icao, :latitude, :longitude, - :altitude, :timezone, :dst + :altitude, :timezone, :dst, :tz_name def initialize(name:, city:, country:, iata:, icao:, latitude:, longitude:, - altitude:, timezone:, dst:) + altitude:, timezone:, dst:, tz_name:) @name = name @city = city @country = country @iata = iata @icao = icao @latitude = latitude @longitude = longitude @altitude = altitude @timezone = timezone @dst = dst + @tz_name = tz_name end end end