Class: LinkedinV2::Client
- Inherits:
-
Object
- Object
- LinkedinV2::Client
- Includes:
- Api::Medias, Api::Organizations, Api::Profiles, Helpers::Handler
- Defined in:
- lib/linkedin_v2/client.rb
Constant Summary
Constants included from Api::Profiles
Constants included from Api::Organizations
Api::Organizations::ORGANIZATION_ENTITY
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(token:) ⇒ Client
constructor
A new instance of Client.
Methods included from Api::Medias
Methods included from Api::Profiles
#add_profile_post, #add_profile_share, #me
Methods included from Api::Organizations
#add_company_post, #add_company_share, #company_brand, #organizations
Methods included from Helpers::Handler
#conn, #headers, #post_headers, #request
Constructor Details
#initialize(token:) ⇒ Client
Returns a new instance of Client.
14 15 16 |
# File 'lib/linkedin_v2/client.rb', line 14 def initialize(token:) @token = token end |
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token.
12 13 14 |
# File 'lib/linkedin_v2/client.rb', line 12 def token @token end |