module Conjur class InvalidToken < Exception end class User < RestClient::Resource include HasId include HasAttributes include ActsAsResource include ActsAsUser alias login id def roleid [ 'user', id ].join(':') end end end