Class: LinkedIn::Network
- Inherits:
-
Base
- Object
- Base
- LinkedIn::Network
show all
- Defined in:
- lib/linked_in/network.rb
Instance Attribute Summary
Attributes inherited from Base
#doc
Instance Method Summary
collapse
Methods inherited from Base
from_xml, #initialize
Constructor Details
This class inherits a constructor from LinkedIn::Base
Instance Method Details
#updates ⇒ Object
4
5
6
7
8
9
|
# File 'lib/linked_in/network.rb', line 4
def updates
@updates ||= @doc.xpath('//updates').children.inject([]) do |list, update|
list << Update.new(Nokogiri::XML(update.to_xml)) unless update.blank?
list
end
end
|