Class: Yt::Models::Account
Overview
Provides methods to interact with YouTube accounts.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#channel ⇒ Yt::Models::Channel
readonly
The account’s channel.
- #owner_name ⇒ String? readonly
-
#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 Associations::HasReports
Methods included from Associations::HasOne
Methods included from Associations::HasMany
Methods included from Associations::HasAuthentication
Instance Attribute Details
#channel ⇒ Yt::Models::Channel (readonly)
Returns the account’s channel.
10 |
# File 'lib/yt/models/account.rb', line 10 has_one :channel |
#owner_name ⇒ String? (readonly)
25 26 27 |
# File 'lib/yt/models/account.rb', line 25 def owner_name @owner_name end |
#user_info ⇒ Yt::Models::UserInfo (readonly)
Returns the account’s profile information.
15 |
# File 'lib/yt/models/account.rb', line 15 has_one :user_info |
#videos ⇒ Yt::Collections::Videos (readonly)
Returns the videos owned by the account.
21 |
# File 'lib/yt/models/account.rb', line 21 has_many :videos |