Sha256: 0b5e767d22f97d889b716f025753abd72ef5c58cce3a0a5c6a5a229a75018a8d
Contents?: true
Size: 678 Bytes
Versions: 27
Compression:
Stored size: 678 Bytes
Contents
# http://developer.linkedin.com/docs/DOC-1008 # https://www.linkedin.com/secure/developer # http://github.com/pengwynn/linkedin/tree/master/lib/linked_in/ class LinkedInToken < OauthToken key do |access_token| body = access_token.get("https://api.linkedin.com/v1/people/~:(id)").body id = body.gsub("<id>([^><]+)</id>", "\\1") # so we don't need to also import nokogiri id end settings "https://api.linkedin.com", :request_token_path => "/uas/oauth/requestToken", :access_token_path => "/uas/oauth/accessToken", :authorize_path => "/uas/oauth/authorize", :http_method => "get", :scheme => :query_string end
Version data entries
27 entries across 27 versions & 9 rubygems