Home > activeresource_auth

activeresource_auth

Activeresource_auth is a project mainly written in Ruby, based on the MIT license.

Improves ActiveResource HTTP Basic Auth Support

The purpose of this gem is to provide better http auth basic support into ActiveResource. Encoding it in the url makes me gag and it should make you gag too.

Usage:

require 'activeresource_auth'

class MyResource
    site = "http://remote.com"
    auth_as "myuser", "mypass"
end