Sha256: 43e9cba5721300142333d9e54f79b3a6ca9d7f8c4e1ed8c01502a71efa316db2
Contents?: true
Size: 939 Bytes
Versions: 2
Compression:
Stored size: 939 Bytes
Contents
module MediaArtsDb BASE_URI = "http://mediaarts-db.jp" def self.comic_search_uri "#{BASE_URI}/mg/results" end def self.comic_comic_works_uri(id) "#{BASE_URI}/mg/comic_works/#{id}" end def self.comic_comic_titles_uri(id) "#{BASE_URI}/mg/book_titles/#{id}" end def self.comic_comic_uri(id) "#{BASE_URI}/mg/books/#{id}" end def self.comic_magazine_works_uri(id) "#{BASE_URI}/mg/magazine_works/#{id}" end def self.comic_magazine_titles_uri(id) "#{BASE_URI}/mg/magazine_titles/#{id}" end def self.comic_magazine_uri(id) "#{BASE_URI}/mg/magazines/#{id}" end def self.comic_author_uri(id) "#{BASE_URI}/mg/authorities/#{id}" end def self.comic_material_uri(id) "#{BASE_URI}/mg/materials/#{id}" end def self.comic_original_picture_uri(id) "#{BASE_URI}/mg/origins/#{id}" end def self.comic_booklet_uri(id) "#{BASE_URI}/mg/booklets/#{id}" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
media_arts_db-0.1.1 | lib/media_arts_db/uri.rb |
media_arts_db-0.1.0 | lib/media_arts_db/uri.rb |