Skip to content

Commit b2ddc06

Browse files
committed
sc2ranks_url
1 parent 317ca72 commit b2ddc06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/esdb/identity.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@ def to_hash
88
hash['stats'] = hash['stats'][hash['id'].to_s] if hash['stats']
99
hash
1010
end
11+
12+
def sc2ranks_url
13+
"http://sc2ranks.com/#{gateway}/#{bnet_id}/#{name}"
14+
end
1115
end
1216
end

0 commit comments

Comments
 (0)