Last active
August 11, 2019 19:12
-
-
Save borischerkasky/7b9177a09dcdd6e086d310f123bb2254 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
# since i'm overriding HTTParty's headers i need to provide the user agent so GitHub won't reject the api call | |
headers = {"User-Agent"=>"Httparty", "Accept"=>"application/vnd.github.mockingbird-preview"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment