Class: NetworkProfile::FacebookProfile
- Inherits:
-
NetworkProfileWithoutExtraction
- Object
- DefaultProfile
- NetworkProfileWithoutExtraction
- NetworkProfile::FacebookProfile
- Defined in:
- lib/network_profile/extractors/facebook_profile.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from NetworkProfileWithoutExtraction
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
7 8 9 |
# File 'lib/network_profile/extractors/facebook_profile.rb', line 7 def self.handle?(link) (e = link[%r{facebook.com/([\w\.]+)}, 1]) && e.length > 3 && e != 'groups' end |
Instance Method Details
#profile_description ⇒ Object
11 12 13 |
# File 'lib/network_profile/extractors/facebook_profile.rb', line 11 def profile_description "Facebook Profil:" end |