Sha256: 04f9dc46736ccee088adc85314d78ce455ae7da45ff2095acfe4777ec4f10ab7

Contents?: true

Size: 600 Bytes

Versions: 3

Compression:

Stored size: 600 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
    # - odnoklassniki
    # - Xing
    # - reddit
    # - hacker_news
    # - telegram
    attr_accessor :allow_sites

    def initialize
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
social-share-button-1.1.0 lib/social_share_button/config.rb
social-share-button-1.0.0 lib/social_share_button/config.rb
social-share-button-0.10.0 lib/social_share_button/config.rb