class TimestampMaker::TimeZoneLookupers::Wheretz
Public Instance Methods
lookup(latitude:, longitude:)
click to toggle source
# File lib/timestamp_maker/time_zone_lookupers/wheretz.rb, line 9 def lookup(latitude:, longitude:) case result = WhereTZ.lookup(latitude, longitude) when String then result when Array then result.first else raise 'Something went wrong with WhereTZ' end end