Class: Item::VideoRetriever::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/item/video_retriever.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(all_videos: nil, videos_grouped: nil) ⇒ Result

Returns a new instance of Result.



7
# File 'app/services/item/video_retriever.rb', line 7

def initialize(all_videos: nil, videos_grouped: nil) = super

Instance Attribute Details

#all_videosObject (readonly)

Returns the value of attribute all_videos

Returns:

  • (Object)

    the current value of all_videos



6
7
8
# File 'app/services/item/video_retriever.rb', line 6

def all_videos
  @all_videos
end

#videos_groupedObject (readonly)

Returns the value of attribute videos_grouped

Returns:

  • (Object)

    the current value of videos_grouped



6
7
8
# File 'app/services/item/video_retriever.rb', line 6

def videos_grouped
  @videos_grouped
end