Class: SocialShareButton::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/social_share_button/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config



15
16
# File 'lib/social_share_button/config.rb', line 15

def initialize
end

Instance Attribute Details

#allow_sitesObject

enable social sites to share,

  • default : twitter facebook weibo douban

  • site support: twitter facebook weibo douban



13
14
15
# File 'lib/social_share_button/config.rb', line 13

def allow_sites
  @allow_sites
end