-
-
Save bkilshaw/da3671a4fe06c859c2072829ab796ba7 to your computer and use it in GitHub Desktop.
This file contains 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
require 'open-uri' | |
vendor = open 'http://api.macvendors.com/00:00:00:00:00:00' | |
if vendor.status[0] == "200" then | |
puts vendor.read | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment