Sha256: 585d04d5ef8ccc7d457531eae49d3f847824f040e06dfc566f71b10d055c61d6

Contents?: true

Size: 619 Bytes

Versions: 1

Compression:

Stored size: 619 Bytes

Contents

module RailsSocialShareButton
  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
rails-social-share-button-0.0.2 lib/rails_social_share_button/config.rb