Class: Yt::Models::Account
- Includes:
- Yt::Modules::Authentication
- Defined in:
- lib/yt/models/account.rb
Overview
Provides methods to interact with YouTube accounts.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#channel ⇒ Yt::Models::Channel
readonly
The account’s channel.
-
#user_info ⇒ Yt::Models::UserInfo
readonly
The account’s profile information.
-
#videos ⇒ Yt::Collections::Videos
readonly
The videos owned by the account.
Method Summary
Methods included from Yt::Modules::Authentication
#auth, #authentication, #authentication_url, #initialize, #refresh
Methods included from Yt::Modules::Associations
Instance Attribute Details
#channel ⇒ Yt::Models::Channel (readonly)
Returns the account’s channel.
14 |
# File 'lib/yt/models/account.rb', line 14 has_one :channel |
#user_info ⇒ Yt::Models::UserInfo (readonly)
Returns the account’s profile information.
19 |
# File 'lib/yt/models/account.rb', line 19 has_one :user_info |
#videos ⇒ Yt::Collections::Videos (readonly)
Returns the videos owned by the account.
25 |
# File 'lib/yt/models/account.rb', line 25 has_many :videos |