Class: NetworkProfile::LinkedinProfile

Inherits:
NetworkProfileWithoutExtraction show all
Defined in:
lib/network_profile/extractors/linkedin_profile.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from NetworkProfileWithoutExtraction

#data, #title

Methods inherited from DefaultProfile

all_types, auto_extractor_link_types, #data, #extra_data, #image, #initialize, parse, #text, #title

Constructor Details

This class inherits a constructor from NetworkProfile::DefaultProfile

Class Method Details

.handle?(link) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/network_profile/extractors/linkedin_profile.rb', line 6

def self.handle?(link)
  link['linkedin.com/in/']
end

Instance Method Details

#profile_descriptionObject



10
11
12
# File 'lib/network_profile/extractors/linkedin_profile.rb', line 10

def profile_description
  "LinkedIn Profil:"
end