Skip to content

Instantly share code, notes, and snippets.

@hayesdavis
Created April 2, 2010 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hayesdavis/353728 to your computer and use it in GitHub Desktop.
Save hayesdavis/353728 to your computer and use it in GitHub Desktop.
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