class NetworkProfile::NetworkProfileWithoutExtraction

Public Instance Methods

data() click to toggle source
# File lib/network_profile/extractors/network_profile_without_extraction.rb, line 14
def data
  {
    title: title,
    text: "",
    image: nil,
    type: self.class.name.underscore.split('/').last,
    link: @link,
    site_icon: self.class.mdi_icon,
  }
end
profile_description() click to toggle source
# File lib/network_profile/extractors/network_profile_without_extraction.rb, line 6
def profile_description
  "Profil: "
end
title() click to toggle source
# File lib/network_profile/extractors/network_profile_without_extraction.rb, line 10
def title
  "#{profile_description} #{@link.split('/').last}"
end