class Yt::Models::Timestamp

@private Extend Time to have .to_json return the format needed to submit timestamp to YouTube API. Only needed while we support ActiveSupport 3.

Public Instance Methods

as_json(options = nil) click to toggle source
# File lib/yt/models/timestamp.rb, line 8
def as_json(options = nil)
  utc.iso8601(3)
end