Created
February 16, 2011 23:27
-
-
Save thattommyhall/830544 to your computer and use it in GitHub Desktop.
Create a contact in FreeAgent using freeagent_api from https://github.com/aaronrussell/freeagent_api
This file contains hidden or 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
require 'freeagent_api' | |
include Freeagent | |
Freeagent.authenticate({ | |
:domain => 'tthuk.freeagentcentral.com', | |
:username => '[email protected]', | |
:password => 'NotMyRealPassword'}) | |
Contact.new({ :first_name => 'Tom', | |
:last_name => 'Hall', | |
:email => '[email protected]'}).save |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment