We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2404ed3 commit dc0db65Copy full SHA for dc0db65
lib/esdb/match.rb
@@ -41,5 +41,13 @@ def userdelete(user_id)
41
resp = RestClient.post(url + '/userdelete', :access_token => ESDB.api_key, :user_id => user_id)
42
JSON.parse(resp)
43
end
44
+
45
+ def expansion
46
+ (release_string[0] == '2' && release_string != '2.0.4.24944') ? 'HotS' : 'WoL'
47
+ end
48
49
+ def expansion_long
50
+ expansion == 'HotS' ? 'Heart of the Swarm' : 'Wings of Liberty'
51
52
53
0 commit comments