Set endpoint_key on sinatra class