Class: LinkedIn::Update
- Inherits:
-
Base
- Object
- Base
- LinkedIn::Update
show all
- Defined in:
- lib/linked_in/update.rb
Instance Method Summary
collapse
Methods inherited from Base
from_xml, #initialize
Constructor Details
This class inherits a constructor from LinkedIn::Base
Instance Method Details
#profile ⇒ Object
14
15
16
|
# File 'lib/linked_in/update.rb', line 14
def profile
Profile.new(Nokogiri::XML(@doc.xpath('./update/update-content/person').to_xml))
end
|
#timestamp ⇒ Object
10
11
12
|
# File 'lib/linked_in/update.rb', line 10
def timestamp
@doc.xpath('./update/timestamp').text.to_i
end
|