lib/linked_in/profile.rb in linkedin-idkmybffjill-0.2.0 vs lib/linked_in/profile.rb in linkedin-idkmybffjill-0.2.1
- old
+ new
@@ -4,10 +4,11 @@
# xml_reader :three_current_positions, :as => [Position]
PROFILE_FIELDS = %w[id first_name last_name headline industry
current_status current_status_timestamp summary
specialties proposal_comments associations honors
- interests picture_url distance num_recommenders]
+ interests picture_url distance num_recommenders
+ public_profile_url]
PROFILE_FIELDS.each do |f|
define_method(f.to_sym) do
@doc.xpath("./person/#{f.gsub(/_/,'-')}").text
end