Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (28 sloc) 0.771 kb
require 'oauth'
module LinkedIn
class << self
attr_accessor :token, :secret, :default_profile_fields
# config/initializers/linkedin.rb (for instance)
#
# LinkedIn.configure do |config|
# config.token = 'consumer_token'
# config.secret = 'consumer_secret'
# config.default_profile_fields = ['education', 'positions']
# end
#
# elsewhere
#
# client = LinkedIn::Client.new
def configure
yield self
true
end
end
autoload :Api, "linked_in/api"
autoload :Client, "linked_in/client"
autoload :Mash, "linked_in/mash"
autoload :Errors, "linked_in/errors"
autoload :Helpers, "linked_in/helpers"
autoload :Search, "linked_in/search"
autoload :Version, "linked_in/version"
end
Jump to Line
Something went wrong with that request. Please try again.