Class: FanartApi::Movie

Inherits:
Base
  • Object
show all
Defined in:
lib/fanart_api/movie.rb

Overview

Instance Method Summary collapse

Methods inherited from Base

#api_key_options, #default_options, #find_path, #path_with_params, #update_path

Instance Method Details

#find(options = {}) ⇒ Object



3
4
5
# File 'lib/fanart_api/movie.rb', line 3

def find(options = {})
  find_path_with_params(options).get
end

#find_url(options = {}) ⇒ Object



7
8
9
# File 'lib/fanart_api/movie.rb', line 7

def find_url(options = {})
  find_path_with_params(options).url
end

#update(options = {}) ⇒ Object



11
12
13
# File 'lib/fanart_api/movie.rb', line 11

def update(options = {})
  update_path_with_params(options).get
end

#update_url(options = {}) ⇒ Object



15
16
17
# File 'lib/fanart_api/movie.rb', line 15

def update_url(options = {})
  update_path_with_params(options).url
end