Class: Yt::Models::GroupItem
- Inherits:
-
Base
- Object
- Base
- Yt::Models::GroupItem
- Defined in:
- lib/yt/models/group_item.rb
Instance Attribute Summary collapse
-
#auth ⇒ Object
readonly
Returns the value of attribute auth.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#video ⇒ Object
readonly
Returns the value of attribute video.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ GroupItem
constructor
A new instance of GroupItem.
Constructor Details
#initialize(options = {}) ⇒ GroupItem
Returns a new instance of GroupItem.
8 9 10 11 12 |
# File 'lib/yt/models/group_item.rb', line 8 def initialize( = {}) @data = [:data] @auth = [:auth] @video = [:video] if [:video] end |
Instance Attribute Details
#auth ⇒ Object (readonly)
Returns the value of attribute auth.
6 7 8 |
# File 'lib/yt/models/group_item.rb', line 6 def auth @auth end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
6 7 8 |
# File 'lib/yt/models/group_item.rb', line 6 def data @data end |
#video ⇒ Object (readonly)
Returns the value of attribute video.
6 7 8 |
# File 'lib/yt/models/group_item.rb', line 6 def video @video end |