Created
April 2, 2010 21:21
-
-
Save hayesdavis/353728 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
client = Grackle::Client.new(:auth=>{:type=>:basic,:username=>SOME_USER,:password=>SOME_PASS},:ssl=>true) | |
# The ! means POST | |
client.direct_messages.new! :screen_name=>'hayesdavis', :text=>'testing' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment