Active resource authentication

I am new to RoR.
I want to consume a restful service from a rails app which uses devise.
Devise allows to authenticate on a number of attributes, not only one
(e.g. username) as is commonly used. In this case the credentials
consist of username, subdomain and password.

The examples for active resource authentication I have seen only use one
attribute. How do I get the second one across?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs