Skip to content

Commit 8e8e04b

Browse files
committed
destroy all matches
1 parent 08a0930 commit 8e8e04b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/esdb/identity.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,10 @@ def sc2ranks_url
2929
"http://sc2ranks.com/#{gateway}/#{bnet_id}/#{name}"
3030
end
3131
end
32+
33+
def destroy_all_matches
34+
resp = RestClient.post(url + '/destroy_all_matches', :access_token => ESDB.api_key)
35+
JSON.parse(resp)
36+
end
3237
end
3338
end

0 commit comments

Comments
 (0)