Module: OpenDMM::Maker::Prestige::Site
- Includes:
- HTTParty
- Defined in:
- lib/opendmm/makers/prestige.rb
Class Method Summary collapse
Class Method Details
.item(name) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/opendmm/makers/prestige.rb', line 11 def self.item(name) case name when /^(ABP|ABS|ABY|BRA|CHN|CHS|DOM|EDD|ESK|EZD|HAZ|HON|INU|JBS|JOB|LLR|MAS|MBD|MDC|MEK|MMY|NDR|NOF|OSR|PPB|PPP|PPT|RAW|SAD|SGA|SPC|SRS|TAP|TDT|TRD|WAT|WPC|XND|YRH|YRZ)-?(\d{3})$/i get("/item/prestige/#{$1.upcase}-#{$2}") end end |