Skip to content

Instantly share code, notes, and snippets.

@vdichev
Created August 11, 2010 03:56
Show Gist options
  • Save vdichev/518452 to your computer and use it in GitHub Desktop.
Save vdichev/518452 to your computer and use it in GitHub Desktop.
for {
message <- post("/statuses/update.xml", "status" -> "test_msg1")
!@ "Couldn't post message" if message.xml must notBeEmpty
xml <- message.xml
} {
xml must \\(<text>test_msg1</text>)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment