Class: LoyalShareButtons::Config
- Inherits:
-
Object
- Object
- LoyalShareButtons::Config
- Defined in:
- lib/loyal_share_buttons/config.rb
Instance Attribute Summary collapse
-
#allow_sites ⇒ Object
enable social sites to share, * default : twitter facebook weibo douban * site support: twitter facebook weibo douban.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
15 16 |
# File 'lib/loyal_share_buttons/config.rb', line 15 def initialize end |
Instance Attribute Details
#allow_sites ⇒ Object
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 |