class Fiesta::TimestampNormalizer

Public Instance Methods

run() click to toggle source
# File lib/fiesta/timestamp_normalizer.rb, line 8
def run
  if timestamp.is_a?(Time)
    timestamp
  else
    Time.parse(timestamp.to_s + "Z")
  end
end