Class: FilmOn::Services::VideoOnDemand::VodSearchResult

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#moviesObject

Returns the value of attribute movies

Returns:

  • (Object)

    the current value of movies



11
12
13
# File 'lib/film_on/services/video_on_demand.rb', line 11

def movies
  @movies
end

#totalObject

Returns the value of attribute total

Returns:

  • (Object)

    the current value of total



11
12
13
# File 'lib/film_on/services/video_on_demand.rb', line 11

def total
  @total
end

#total_foundObject

Returns the value of attribute total_found

Returns:

  • (Object)

    the current value of total_found



11
12
13
# File 'lib/film_on/services/video_on_demand.rb', line 11

def total_found
  @total_found
end