Class: Yt::Models::Status
Overview
Contains information about the status of a resource. The details of the status are different for the different types of resources.
Resources with a status are: channels, playlists, playlist items and videos.
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Status
constructor
A new instance of Status.
Methods included from Associations::HasOne
Methods included from Associations::HasMany
Methods included from Associations::HasAuthentication
Constructor Details
#initialize(options = {}) ⇒ Status
Returns a new instance of Status.
17 18 19 |
# File 'lib/yt/models/status.rb', line 17 def initialize( = {}) @data = [:data] end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
15 16 17 |
# File 'lib/yt/models/status.rb', line 15 def data @data end |