why do you pass username and password here? I think request method should already have these credentials. You just configure library and then you say, hey, perform me request with this url, and then :request method should use credentials which you already configured. I don't see any reason to pass these credentials through arguments of :request method.