Sha256: a8c5c588823f79ddaf5968cf2506a16ebd00569a59b785dade8f383943fe9ffa

Contents?: true

Size: 514 Bytes

Versions: 3

Compression:

Stored size: 514 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
    # - weichat
    # - vkontakte
    attr_accessor :allow_sites

    def initialize
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
social-share-button-0.4.0 lib/social_share_button/config.rb
social-share-button-0.3.4 lib/social_share_button/config.rb
social-share-button-0.3.2 lib/social_share_button/config.rb