Class: NetworkProfile::InstagramProfile
- Inherits:
-
NetworkProfileWithoutExtraction
- Object
- DefaultProfile
- NetworkProfileWithoutExtraction
- NetworkProfile::InstagramProfile
- Defined in:
- lib/network_profile/extractors/instagram_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
6 7 8 |
# File 'lib/network_profile/extractors/instagram_profile.rb', line 6 def self.handle?(link) (e = link[%r{instagram.com/([\w\.]+)}, 1]) && e.length > 3 && e != 'groups' end |
Instance Method Details
#profile_description ⇒ Object
10 11 12 |
# File 'lib/network_profile/extractors/instagram_profile.rb', line 10 def profile_description "Instagram Profil:" end |