Class: Yt::Models::FileDetail
Overview
Encapsulates basic information about the video file itself, including the file name, size, type, and container.
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ FileDetail
constructor
A new instance of FileDetail.
Methods included from Associations::HasOne
Methods included from Associations::HasMany
Methods included from Associations::HasAuthentication
Constructor Details
#initialize(options = {}) ⇒ FileDetail
Returns a new instance of FileDetail.
11 12 13 |
# File 'lib/yt/models/file_detail.rb', line 11 def initialize( = {}) @data = [:data] || {} end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
9 10 11 |
# File 'lib/yt/models/file_detail.rb', line 9 def data @data end |