Module: Vinegar::Client::Cast

Included in:
Vinegar::Client
Defined in:
lib/vinegar/client/movie/cast.rb

Overview

Cast

Instance Method Summary collapse

Instance Method Details

#full_movie_cast(movie_id, options = {}) ⇒ Hashie::Mash

Pulls the complete movie cast for a movie

Examples:

Get the cast results for a movie

@client.full_movie_cast(12345)

Parameters:

  • movie_id (Integer)

    The id of the movie from Rotten Tomatoes

Returns:

  • (Hashie::Mash)

    Movie cast response

See Also:



20
21
22
# File 'lib/vinegar/client/movie/cast.rb', line 20

def full_movie_cast(movie_id, options = {})
  get("movies/#{movie_id}/cast.json", options)
end