Sha256: 6aa3995c6bddd5e4bb0334e3a8af021d865e4068fa3065ec31e1c087421ab504
Contents?: true
Size: 935 Bytes
Versions: 1
Compression:
Stored size: 935 Bytes
Contents
module MediaArtsDb BASE_URI = "http://mediaarts-db.jp" def self.comic_search_uri "#{BASE_URI}/mg/results" end def self.comic_comic_work_uri(id) "#{BASE_URI}/mg/comic_works/#{id}" end def self.comic_comic_title_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_work_uri(id) "#{BASE_URI}/mg/magazine_works/#{id}" end def self.comic_magazine_title_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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
media_arts_db-1.0.0 | lib/media_arts_db/uri.rb |