This totally works; however, it's generally best practice to limit the amount of instance variables you create. Here I would probably return the response value rather than store it as an instance variable. 

```ruby 
def get_from_tmdb
  response = RestClient.get(endpoint_url)
  JSON.parse(response)
end
```
Similarly I would rewrite the parsed_response method like so:
```ruby
def parse_response(response)
   response['results'].map do |movie|
     {rating: movie ['vote_average'], released: movie['release_date'], title: movie['title']}
   end
 end
```
Then i would rewrite the sanitize input method like so:

```ruby
user_tmdb = Tmdb_top20_per_year.new(input)
response = user_tmdb.get_from_tmdb
puts user_tmdb.parse_response(response)