Class: LinkedIn::Country

Inherits:
Base
  • Object
show all
Defined in:
lib/linked_in/country.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

#codeObject



4
5
6
# File 'lib/linked_in/country.rb', line 4

def code
  @doc.xpath("/person/location/country/code").text
end