Created
March 22, 2010 01:08
-
-
Save oren/339704 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
ssue model on the client side | |
class Issue < ActiveResource::Base | |
self.site = 'http://localhost:3000' | |
self.user = 'admin' | |
self.password = 'admin' | |
end | |
Retrieving issues | |
issues = Issue.find(:all) | |
puts issues.first@ | |
what about the api access key? should i pass it instead of the user/password? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment