Module: OpenDMM::Maker::KiraKira::Site

Includes:
HTTParty
Defined in:
lib/opendmm/makers/kira_kira.rb

Class Method Summary collapse

Class Method Details

.item(name) ⇒ Object



10
11
12
13
14
15
# File 'lib/opendmm/makers/kira_kira.rb', line 10

def self.item(name)
  case name
  when /^(BLK|KIRD|KISD|SET)-?(\d{3})$/i
    get("/works/-/detail/=/cid=#{$1.downcase}#{$2}")
  end
end