Module: ShareButton

Included in:
SocialShareFeature::Button
Defined in:
lib/share_button.rb,
lib/share_button/engine.rb,
lib/share_button/helper.rb,
lib/share_button/railtie.rb,
lib/generators/share_button/install_generator.rb

Overview

I18n.load_path = Dir.glob( File.dirname(__FILE__) “lib/locales/*.rb,yml” )

Defined Under Namespace

Modules: Generators, Helper, Rails

Constant Summary collapse

NETWORK_LIST =
[
  :facebook,
  :google,
  :linkedin,
  :pinterest,
  :reddit,
  :twitter,
  :weibo
]

Instance Method Summary collapse

Instance Method Details

#supported_networksObject



14
15
16
# File 'lib/share_button.rb', line 14

def supported_networks
  NETWORK_LIST
end