Sha256: 5a9546204b810fc6ad22c2bdb2e77efc60d3f83f582f7b10cefd5f24aef91add

Contents?: true

Size: 561 Bytes

Versions: 8

Compression:

Stored size: 561 Bytes

Contents

module SocialShareButton
  class << self
    attr_accessor :config
    def configure
      yield self.config ||= Config.new
    end
  end

  class Config
    # enable social sites to share,
    # * site support:
    # - twitter
    # - facebook
    # - google_plus
    # - weibo
    # - qq
    # - douban
    # - google_bookmark
    # - delicious
    # - tumblr
    # - pinterest
    # - email
    # - linkedin
    # - wechat
    # - vkontakte
    # - Xing
    # - reddit
    # - hacker_news
    attr_accessor :allow_sites

    def initialize
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
social-share-button-0.8.8 lib/social_share_button/config.rb
social-share-button-0.8.7 lib/social_share_button/config.rb
social-share-button-0.8.6 lib/social_share_button/config.rb
social-share-button-0.8.5 lib/social_share_button/config.rb
social-share-button-0.8.4 lib/social_share_button/config.rb
social-share-button-0.8.2 lib/social_share_button/config.rb
social-share-button-0.8.1 lib/social_share_button/config.rb
social-share-button-0.8.0 lib/social_share_button/config.rb