lib/quakelive_api/profile/summary.rb in quakelive_api-0.0.1 vs lib/quakelive_api/profile/summary.rb in quakelive_api-0.1.0

- old
+ new

@@ -6,30 +6,30 @@ :deaths, :hits, :shots, :accuracy, :favourite, :recent_awards, :recent_games, :recent_competitors private - def url - "/profile/summary/#{player_name}" - end + 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 + 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