Sha256: 25c021f1c49a6f6752e0c07973493dc90c2519d14a5442132aa4fbcf441e6af6
Contents?: true
Size: 274 Bytes
Versions: 1
Compression:
Stored size: 274 Bytes
Contents
module OnlinegamesInfoConnect module OauthUsers def me(token) return token.get('/api/users/me.json').parsed end def set_user_name(user, char_name) return user.token.post("/api/users/#{user.id}/set_name", {params: {char_name: char_name}}).parsed end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
onlinegames_info_connect-0.0.1 | lib/onlinegames_info_connect/oauth_users.rb |