master
authenticate
def authenticate(options={}) if options[:token] token = options[:token] request_body = { auth: {