Class: Yt::Models::Status

Inherits:
Base
  • Object
show all
Defined in:
lib/yt/models/status.rb

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

Instance Method Summary collapse

Methods included from Associations::HasOne

#has_one

Methods included from Associations::HasMany

#has_many

Methods included from Associations::HasAuthentication

#has_authentication

Constructor Details

#initialize(options = {}) ⇒ Status

Returns a new instance of Status.



17
18
19
# File 'lib/yt/models/status.rb', line 17

def initialize(options = {})
  @data = options[:data]
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



15
16
17
# File 'lib/yt/models/status.rb', line 15

def data
  @data
end