Class: Yt::Models::ContentOwner
- Defined in:
- lib/yt/models/content_owner.rb
Overview
Provides methods to interact with YouTube CMS accounts.
Instance Attribute Summary collapse
-
#partnered_channels ⇒ Yt::Collection::PartneredChannels
readonly
The channels managed by the CMS account.
Attributes inherited from Account
#channel, #owner_name, #user_info, #videos
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ContentOwner
constructor
A new instance of ContentOwner.
Methods included from Associations::HasReports
Methods included from Associations::HasOne
Methods included from Associations::HasMany
Methods included from Associations::HasAuthentication
Constructor Details
#initialize(options = {}) ⇒ ContentOwner
Returns a new instance of ContentOwner.
14 15 16 17 |
# File 'lib/yt/models/content_owner.rb', line 14 def initialize( = {}) super @owner_name = [:owner_name] end |
Instance Attribute Details
#partnered_channels ⇒ Yt::Collection::PartneredChannels (readonly)
Returns the channels managed by the CMS account.
12 |
# File 'lib/yt/models/content_owner.rb', line 12 has_many :partnered_channels |