Class: LinkedIn::ApiStandardProfileRequest
- Defined in:
- lib/linked_in/api_standard_profile_request.rb
Instance Method Summary collapse
-
#headers ⇒ Object
returning a hash should be ok, but suggestions are welcome.
- #url ⇒ Object
Methods inherited from Base
Constructor Details
This class inherits a constructor from LinkedIn::Base
Instance Method Details
#headers ⇒ Object
returning a hash should be ok, but suggestions are welcome
9 10 11 12 13 14 |
# File 'lib/linked_in/api_standard_profile_request.rb', line 9 def headers hash = {} hash[:name] = @doc.xpath("//api-standard-profile-request/headers/http-header/name").text hash[:value] = @doc.xpath("//api-standard-profile-request/headers/http-header/value").text hash end |
#url ⇒ Object
4 5 6 |
# File 'lib/linked_in/api_standard_profile_request.rb', line 4 def url @doc.xpath("//api-standard-profile-request/url").text end |