Class: Yt::Models::ContentOwner

Inherits:
Account show all
Defined in:
lib/yt/models/content_owner.rb

Overview

Provides methods to access a YouTube content owner.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Account

#auth

Methods included from Associations

#has_many

Constructor Details

#initialize(options = {}) ⇒ ContentOwner

Returns a new instance of ContentOwner.



10
11
12
13
# File 'lib/yt/models/content_owner.rb', line 10

def initialize(options = {})
  super options
  @owner_name = options[:owner_name]
end

Instance Attribute Details

#owner_nameObject (readonly)

Returns the value of attribute owner_name.



8
9
10
# File 'lib/yt/models/content_owner.rb', line 8

def owner_name
  @owner_name
end