Sha256: eaa269c998e40bae054da75eed3601be00763bf97627c0110dacabcd90528c28
Contents?: true
Size: 338 Bytes
Versions: 1
Compression:
Stored size: 338 Bytes
Contents
module Hatsrank class Marketable attr_reader :uri def initialize(client, uri) @uri = uri.sub('http://steamcommunity.com/', '') @client = client end def listings @client.listings self end def info @client.hat_info self end def name listings.first.name end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hatsrank-0.0.1 | lib/hatsrank/marketable.rb |