Class: FanartApi::Music

Inherits:
Base
  • Object
show all
Defined in:
lib/fanart_api/music.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

#album(options = {}) ⇒ Object



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

def album(options = {})
  album_path_with_params(options).get
end

#album_url(options = {}) ⇒ Object



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

def album_url(options = {})
  album_path_with_params(options).url
end

#artist(options = {}) ⇒ Object



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

def artist(options = {})
  artist_path_with_params(options).get
end

#artist_url(options = {}) ⇒ Object



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

def artist_url(options = {})
  artist_path_with_params(options).url
end

#label(options = {}) ⇒ Object



19
20
21
# File 'lib/fanart_api/music.rb', line 19

def label(options = {})
  label_path_with_params(options).get
end

#label_url(options = {}) ⇒ Object



23
24
25
# File 'lib/fanart_api/music.rb', line 23

def label_url(options = {})
  label_path_with_params(options).url
end

#update(options = {}) ⇒ Object



27
28
29
# File 'lib/fanart_api/music.rb', line 27

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

#update_url(options = {}) ⇒ Object



31
32
33
# File 'lib/fanart_api/music.rb', line 31

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