Skip to content

Commit

Permalink
Merge 62158ce into 1229c75
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaracco committed Feb 9, 2015
2 parents 1229c75 + 62158ce commit 65ce427
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/lol/league_entry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ class LeagueEntry < Model
# @return [String] wins
attr_reader :wins

# @!attribute [r] losses
# @return [String] losses
attr_reader :losses

# @!attribute [r] last_played
# @return [DateTime] date of last played game
# at the time of writing this attributes is broken in the API
Expand All @@ -56,7 +60,7 @@ class LeagueEntry < Model

attr_writer :player_or_team_id, :player_or_team_name, :division, :league_points, :wins,
:is_hot_streak, :is_veteran, :is_fresh_blood,
:is_inactive, :time_until_decay, :last_played
:is_inactive, :time_until_decay, :last_played, :losses

def mini_series= raw
@mini_series = MiniSeries.new raw
Expand Down

0 comments on commit 65ce427

Please sign in to comment.