Sha256: c66867ed77456284b3f6a9726f7e17bd96bb596a687ab56e926449a46613afe4

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

module LoyalShareButtons
  class << self
    attr_accessor :config
    def configure
      yield self.config ||= Config.new
    end
  end

  class Config
    # enable social sites to share, 
    # * default : twitter facebook weibo douban
    # * site support: twitter facebook weibo douban
    attr_accessor :allow_sites

    def initialize
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
loyal_share_buttons-1.0.0 lib/loyal_share_buttons/config.rb