Hash:
p: {:headline=>\"Managing Director at Test company name\", :pid=>\"0tSsRvCR7r\", :first_name=>\"John\", :last_name=>\"Doe\", :industry=>\"Fi
Try something like this :
p = {:headline=>"Managing Director at Test company name", :pid=>"0tSsRvCR7r", :first_name=>"John", :last_name=>"Doe", :industry=>"Financial Services", :summary=>nil, :public_profile_url=>"http://www.linkedin.com/pub/john-doe/7a/78/606", :distance=>0}
puts p
puts p[:pid]
hash docs
more on hashes