Method: Yt::Models::Status#scheduled_at

Defined in:
lib/yt/models/status.rb

#scheduled_atTime?

Returns the date and time when a video is scheduled to be published.

Returns:

  • (Time)

    if resource is a private video scheduled to be published, the date and time when the video is scheduled to publish.

  • (nil)

    if the resource is not a private video scheduled to be published.



243
244
245
# File 'lib/yt/models/status.rb', line 243

def scheduled_at
  publish_at if scheduled?
end