Sha256: a823bdeed5b0df8b917f542b9f6239535a0c5e5f42ed9d40566d58f193d7cba8

Contents?: true

Size: 578 Bytes

Versions: 1

Compression:

Stored size: 578 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
    # - telegram
    attr_accessor :allow_sites

    def initialize
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
social-share-button-0.9.0 lib/social_share_button/config.rb