class Treehouse
Main Treehouse
Class
Public Class Methods
parse(user)
click to toggle source
# File lib/treehouse.rb, line 8 def self.parse(user) json = Net::HTTP.get(URI.parse('http://teamtreehouse.com/' + user + '.json')) JSON.parse(json) end