Created
May 9, 2009 04:59
-
-
Save mndoci/109134 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Chemcaster example | |
require 'rubygems' | |
require 'activeresource' | |
class Structure < ActiveResource::Base | |
self.site = 'http://chemcaster.com/collections/:collection_id' | |
self.user = '[email protected]' | |
self.password = 'secret' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment