How to convert Linkedin client in rails to Hash
问题 I create linkedin client like this. client = LinkedIn::Client.new("3333", "rrrrrrr") client.authorize_from_access(session[:atoken], session[:asecret]) and get profile information like this @profile = client.profile when i print the profile like " puts client.profile ", i get the following out put #<LinkedIn::Profile:0x4a77770 @doc=#<Nokogiri::XML::Document:0x253bb64 name="document" children=[#<Nokogiri::XML::Element:0x253b9fc name="pers on" children=[#<Nokogiri::XML::Text:0x253b87c "\n ">, #