Skip to content

Instantly share code, notes, and snippets.

@MaksimenkoPG
Last active May 16, 2021 18:43
Show Gist options
  • Save MaksimenkoPG/f2044c92289132e0cf03b97ff4e80fc2 to your computer and use it in GitHub Desktop.
Save MaksimenkoPG/f2044c92289132e0cf03b97ff4e80fc2 to your computer and use it in GitHub Desktop.
# irb
require 'faraday'
url = 'https://api.github.com/repos/MaksimenkoPG/ruby_app_boilerplate'
response = Faraday.get(url)
puts response.status
puts response.body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment