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
-
#claims ⇒ Yt::Collection::Claims
readonly
The claims administered by the content owner.
-
#partnered_channels ⇒ Yt::Collection::PartneredChannels
readonly
The channels managed by the CMS account.
-
#references ⇒ Yt::Collection::References
readonly
The references administered by the content owner.
Attributes inherited from Account
#channel, #content_owners, #owner_name, #resumable_sessions, #user_info, #videos
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ContentOwner
constructor
A new instance of ContentOwner.
Methods inherited from Account
Methods included from Associations::HasReports
Methods included from Associations::HasViewerPercentages
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.
22 23 24 25 |
# File 'lib/yt/models/content_owner.rb', line 22 def initialize( = {}) super @owner_name = [:owner_name] end |
Instance Attribute Details
#claims ⇒ Yt::Collection::Claims (readonly)
Returns the claims administered by the content owner.
16 |
# File 'lib/yt/models/content_owner.rb', line 16 has_many :claims |
#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 |
#references ⇒ Yt::Collection::References (readonly)
Returns the references administered by the content owner.
20 |
# File 'lib/yt/models/content_owner.rb', line 20 has_many :references |