Sha256: f13a531a378e2c461f8b5f43cbec8be5428d0990b58251b58370dd3162d30444
Contents?: true
Size: 1.25 KB
Versions: 1
Compression:
Stored size: 1.25 KB
Contents
module QuakeliveApi class Profile class Summary < ::QuakeliveApi::Base attr_reader :country, :nick, :clan, :model, :member_since, :last_game, :time_played, :wins, :losses, :quits, :frags, :deaths, :hits, :shots, :accuracy, :favourite, :recent_awards, :recent_games, :recent_competitors private def url "/profile/summary/#{player_name}" end def setup_variables @country = parser.country @nick = parser.nick @clan = parser.clan @model = parser.model @member_since = parser.member_since @last_game = parser.last_game @time_played = parser.time_played @wins = parser.wins @accuracy = parser.accuracy @losses, @quits = parser.losses_quits @frags, @deaths = parser.frags_deaths @hits, @shots = parser.hits_shots @favourite = parser.favourites @recent_awards = parser.awards @recent_games = parser.recent_games @recent_competitors = parser.recent_competitors end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
quakelive_api-0.0.1 | lib/quakelive_api/profile/summary.rb |