Class: Yt::Models::GroupInfo
- Inherits:
-
Base
- Object
- Base
- Yt::Models::GroupInfo
- Defined in:
- lib/yt/models/group_info.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ GroupInfo
constructor
A new instance of GroupInfo.
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( = {}) @data = [:data]['snippet'].merge [:data]['contentDetails'] @auth = [:auth] end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
4 5 6 |
# File 'lib/yt/models/group_info.rb', line 4 def data @data end |