Sha256: 402fadd8e703913fa94749d20efdbd4f396b1679d3d68f1160b577c832c893b2
Contents?: true
Size: 1.21 KB
Versions: 3
Compression:
Stored size: 1.21 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quakelive_api-0.1.2 | lib/quakelive_api/profile/summary.rb |
quakelive_api-0.1.1 | lib/quakelive_api/profile/summary.rb |
quakelive_api-0.1.0 | lib/quakelive_api/profile/summary.rb |