Class: Yt::Models::GroupItem

Inherits:
Base
  • Object
show all
Defined in:
lib/yt/models/group_item.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ GroupItem


8
9
10
11
12
# File 'lib/yt/models/group_item.rb', line 8

def initialize(options = {})
  @data = options[:data]
  @auth = options[:auth]
  @video = options[:video] if options[:video]
end

Instance Attribute Details

#authObject (readonly)

Returns the value of attribute auth


6
7
8
# File 'lib/yt/models/group_item.rb', line 6

def auth
  @auth
end

#dataObject (readonly)

Returns the value of attribute data


6
7
8
# File 'lib/yt/models/group_item.rb', line 6

def data
  @data
end

#videoObject (readonly)

Returns the value of attribute video


6
7
8
# File 'lib/yt/models/group_item.rb', line 6

def video
  @video
end