Created
October 12, 2017 08:25
-
-
Save asonas/a7879c742d3910265bce2d9a234f2787 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
client = Client.new(host: "https://example.com", headers: [ "Authorized: Bearer aaaabbbbcccc" ]) | |
client.get("/foo", { page: 1 }) | |
client.post("/bar", { context: "blahblah" }) | |
client.put("/bar/1", { context: "barbar" }) | |
client.delete("/bar/1") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment