lib/film_on/services/video_on_demand.rb
# movie: retrieve a specific movie with a given id
#
retrieve a specific movie with a given id
retrieve a specific movie with a given id
def movie(id, opts={})
        id = id.to_s
        return @movie[id] if @movie[id] && !opts[:json]
        json = get_vod("movie", {id: id})
        if opts[:json]
          return json
        end
        @movie[id] = convert_movie(json)
      end
def movie ( id , opts = { } ) id = id . to_s return @movie [ id ] if @movie [ id ] && ! opts [ :json ] json = get_vod ( "movie" , { id : id } ) if opts [ :json ] return json end @movie [ id ] = convert_movie ( json ) end
movie: retrieve a specific movie with a given id
movie : retrieve a specific movie with a given id
id
<not_specific>
opts
<not_specific>