Sha256: 1291885c50dd265884f90a0aff90321828b97f7a0fb7a10e624bb3fdf244a17a
Contents?: true
Size: 442 Bytes
Versions: 13
Compression:
Stored size: 442 Bytes
Contents
module Taric module Operation module Base BASE_URL_FN = -> version {"https://{host}/api/lol/{region}/#{version}"} # Converts [Time] to [Fixnum], or returns argument. # # @param time [Time] Time to convert to epoch. # @return [Fixnum] Time in epoch milliseconds.`` def epoch_milliseconds(time) return (time.to_f * 1000).to_i if time.instance_of? Time time end end end end
Version data entries
13 entries across 13 versions & 1 rubygems