Class: Yt::Models::GroupInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ GroupInfo

Returns a new instance of GroupInfo.



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

def initialize(options = {})
  @data = options[:data]['snippet'].merge options[:data]['contentDetails']
  @auth = options[:auth]
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



4
5
6
# File 'lib/yt/models/group_info.rb', line 4

def data
  @data
end