lib/omdb/api.rb
def fetch(title, year = "", tomatoes = false, plot = "short")
      res = network.call({ t: title, y: year, tomatoes: tomatoes, plot: plot })

      if res[:data]["Response"] == "False"
        { status: 404 }
      else
        { status: res[:code], movie: parse_movie(res[:data]) }
      end
    end
def fetch(title, year = "", tomatoes = false, plot = "short")
      res = network.call({ t: title, y: year, tomatoes: tomatoes, plot: plot })

      if res[:data]["Response"] == "False"
        { status: 404 }
      else
        { status: res[:code], movie: parse_movie(res[:data]) }
      end
    end
fetchs a movie with a given title
 set tomatoes to true if you want to get the rotten tomatoes ranking
 set plot to full if you want to have the full, long plot