Module: MediaArtsDb

Defined in:
lib/media_arts_db/uri.rb,
lib/media_arts_db/version.rb,
lib/media_arts_db/http_base.rb,
lib/media_arts_db/comic/parse.rb,
lib/media_arts_db/comic/retrieve.rb,
lib/media_arts_db/comic/component.rb

Defined Under Namespace

Modules: Comic Classes: HttpBase

Constant Summary collapse

BASE_URI =
"http://mediaarts-db.jp"
VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.comic_author_uri(id) ⇒ Object



33
34
35
# File 'lib/media_arts_db/uri.rb', line 33

def self.comic_author_uri(id)
  "#{BASE_URI}/mg/authorities/#{id}"
end

.comic_booklet_uri(id) ⇒ Object



45
46
47
# File 'lib/media_arts_db/uri.rb', line 45

def self.comic_booklet_uri(id)
  "#{BASE_URI}/mg/booklets/#{id}"
end

.comic_comic_title_uri(id) ⇒ Object



13
14
15
# File 'lib/media_arts_db/uri.rb', line 13

def self.comic_comic_title_uri(id)
  "#{BASE_URI}/mg/book_titles/#{id}"
end

.comic_comic_uri(id) ⇒ Object



17
18
19
# File 'lib/media_arts_db/uri.rb', line 17

def self.comic_comic_uri(id)
  "#{BASE_URI}/mg/books/#{id}"
end

.comic_comic_work_uri(id) ⇒ Object



9
10
11
# File 'lib/media_arts_db/uri.rb', line 9

def self.comic_comic_work_uri(id)
  "#{BASE_URI}/mg/comic_works/#{id}"
end

.comic_magazine_title_uri(id) ⇒ Object



25
26
27
# File 'lib/media_arts_db/uri.rb', line 25

def self.comic_magazine_title_uri(id)
  "#{BASE_URI}/mg/magazine_titles/#{id}"
end

.comic_magazine_uri(id) ⇒ Object



29
30
31
# File 'lib/media_arts_db/uri.rb', line 29

def self.comic_magazine_uri(id)
  "#{BASE_URI}/mg/magazines/#{id}"
end

.comic_magazine_work_uri(id) ⇒ Object



21
22
23
# File 'lib/media_arts_db/uri.rb', line 21

def self.comic_magazine_work_uri(id)
  "#{BASE_URI}/mg/magazine_works/#{id}"
end

.comic_material_uri(id) ⇒ Object



37
38
39
# File 'lib/media_arts_db/uri.rb', line 37

def self.comic_material_uri(id)
  "#{BASE_URI}/mg/materials/#{id}"
end

.comic_original_picture_uri(id) ⇒ Object



41
42
43
# File 'lib/media_arts_db/uri.rb', line 41

def self.comic_original_picture_uri(id)
  "#{BASE_URI}/mg/origins/#{id}"
end

.comic_search_uriObject



5
6
7
# File 'lib/media_arts_db/uri.rb', line 5

def self.comic_search_uri
  "#{BASE_URI}/mg/results"
end