Skip to content

Commit

Permalink
Use league name
Browse files Browse the repository at this point in the history
  • Loading branch information
Arie committed Aug 16, 2024
1 parent 9aed362 commit 871853b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/etf2l_profile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ def self.fetch(steam_uid)
new(response_body) if response_body
end

def self.league_name
"ETF2L"
end

private

def active_bans
Expand Down
4 changes: 4 additions & 0 deletions app/models/rgl_profile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@ def self.fetch(steam_uid)
response_body = RglApi.profile(steam_uid)
new(response_body) if response_body
end

def self.league_name
"RGL"
end
end

0 comments on commit 871853b

Please sign in to comment.