Sha256: c440ede84c9f99039013413c0dbb2690553abca8e3c7f6f2c25479cbd3c25eea

Contents?: true

Size: 469 Bytes

Versions: 12

Compression:

Stored size: 469 Bytes

Contents

module LinkedIn
  class ApiStandardProfileRequest < LinkedIn::Base

    def url
      @doc.xpath("//api-standard-profile-request/url").text
    end

    # returning a hash should be ok, but suggestions are welcome
    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

  end
end

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
linkedin-bdigital-0.2.2.3 lib/linked_in/api_standard_profile_request.rb
cl_linkedin-0.2.3 lib/linked_in/api_standard_profile_request.rb
linkedin-bdigital-0.2.2.2 lib/linked_in/api_standard_profile_request.rb
linkedin-bdigital-0.2.2.1 lib/linked_in/api_standard_profile_request.rb
linkedin-bdigital-0.2.2 lib/linked_in/api_standard_profile_request.rb
linkedin-idkmybffjill-0.2.3 lib/linked_in/api_standard_profile_request.rb
linkedin-idkmybffjill-0.2.2 lib/linked_in/api_standard_profile_request.rb
linkedin-idkmybffjill-0.2.1 lib/linked_in/api_standard_profile_request.rb
linkedin-idkmybffjill-0.2.0 lib/linked_in/api_standard_profile_request.rb
linkedin-0.2.2 lib/linked_in/api_standard_profile_request.rb
linkedin-0.2.1 lib/linked_in/api_standard_profile_request.rb
linkedin-idkmybffjill-0.1.9 lib/linked_in/api_standard_profile_request.rb