Class: LoyalShareButtons::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



15
16
# File 'lib/loyal_share_buttons/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/loyal_share_buttons/config.rb', line 13

def allow_sites
  @allow_sites
end