Class: Yt::Models::Account

Inherits:
Base
  • Object
show all
Includes:
Associations::Authentications
Defined in:
lib/yt/models/account.rb

Overview

Provides methods to interact with YouTube accounts.

Direct Known Subclasses

ContentOwner

Instance Attribute Summary collapse

Method Summary

Methods included from Associations::Authentications

#auth, #authentication, #authentication_url, #initialize, #refresh

Instance Attribute Details

#channelYt::Models::Channel (readonly)

Returns the account’s channel.

Returns:



13
# File 'lib/yt/models/account.rb', line 13

has_one :channel

#user_infoYt::Models::UserInfo (readonly)

Returns the account’s profile information.

Returns:



18
# File 'lib/yt/models/account.rb', line 18

has_one :user_info

#videosYt::Collections::Videos (readonly)

Returns the videos owned by the account.

Returns:



25
# File 'lib/yt/models/account.rb', line 25

has_many :videos