Class: FilmOn::Services::VideoOnDemand::VodSearchResult
- Inherits:
-
Struct
- Object
- Struct
- FilmOn::Services::VideoOnDemand::VodSearchResult
- Defined in:
- lib/film_on/services/video_on_demand.rb
Overview
VodSearchResult: Struct to handle the response from the search, which includes an array of movies, as well as the actual number returned (total) and the overall total for the seach result (total_found) to get the array of movies we have to do film_on.vod_search.movies
Instance Attribute Summary collapse
-
#movies ⇒ Object
Returns the value of attribute movies.
-
#total ⇒ Object
Returns the value of attribute total.
-
#total_found ⇒ Object
Returns the value of attribute total_found.
Instance Attribute Details
#movies ⇒ Object
Returns the value of attribute movies
11 12 13 |
# File 'lib/film_on/services/video_on_demand.rb', line 11 def movies @movies end |
#total ⇒ Object
Returns the value of attribute total
11 12 13 |
# File 'lib/film_on/services/video_on_demand.rb', line 11 def total @total end |
#total_found ⇒ Object
Returns the value of attribute total_found
11 12 13 |
# File 'lib/film_on/services/video_on_demand.rb', line 11 def total_found @total_found end |