Sha256: 666c552cb6f40252b47fd3d87dd15fb21a83972a2b8566b538e01209136afa16
Contents?: true
Size: 343 Bytes
Versions: 3
Compression:
Stored size: 343 Bytes
Contents
module Wowheadr module URI BASE_URL = "http://www.wowhead.com/" JAVASCRIPT = "http://static.wowhead.com/widgets/power.js" def self.item(id) "#{BASE_URL}item=#{id}" end def self.achievement(id) "#{BASE_URL}achievement=#{id}" end def self.spell(id) "#{BASE_URL}spell=#{id}" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wowheadr-0.0.3 | lib/wowheadr/uri.rb |
wowheadr-0.0.2 | lib/wowheadr/uri.rb |
wowheadr-0.0.1 | lib/wowheadr/uri.rb |