Sha256: f3e99dbc2d6a3809dd876ae3efa759a885b577cfff50fbfaa5441ab7fbb50f5d

Contents?: true

Size: 622 Bytes

Versions: 1

Compression:

Stored size: 622 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
    # - weibo
    # - qq
    # - douban
    # - google_bookmark
    # - delicious
    # - tumblr
    # - pinterest
    # - email
    # - linkedin
    # - wechat
    # - vkontakte
    # - odnoklassniki
    # - Xing
    # - reddit
    # - hacker_news
    # - telegram
    # - whatsapp_app
    # - whatsapp_web
    attr_accessor :allow_sites

    def initialize
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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