Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- twitter = Hateoas.site "api.twitter.com"
- twitter.actions
- # => [sign_in: {method: :get}]
- twitter.sign_in user: "mark@example.com", password: "password"
- twitter.actions
- # => [read_messages: {method: :get}, tweet: {method: :post}]
Add Comment
Please, Sign In to add comment