Created
November 13, 2011 21:14
-
-
Save markburns/1362727 to your computer and use it in GitHub Desktop.
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
twitter = Hateoas.site "api.twitter.com" | |
twitter.actions | |
# => [sign_in: {method: :get}] | |
twitter.sign_in user: "[email protected]", password: "password" | |
twitter.actions | |
# => [read_messages: {method: :get}, tweet: {method: :post}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment