Class: LinkedIn::Network
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from LinkedIn::Base
Instance Method Details
#updates ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/linked_in/network.rb', line 4 def updates @array ||= begin @array = [] @doc.xpath('//updates').children.each do |update| @array << Update.new(Nokogiri::XML(update.to_xml)) unless update.blank? end @array end end |