module Zipkin::Encoders::JsonEncoder::Timestamp

Public Class Methods

create(time) click to toggle source
# File lib/zipkin/encoders/json_encoder/timestamp.rb, line 7
def self.create(time)
  (time.to_f * 1_000_000).to_i
end