Sha256: 46d6366666ac082f90347707302367b1d45edee1615634e2956b8a1692750c6d
Contents?: true
Size: 380 Bytes
Versions: 4
Compression:
Stored size: 380 Bytes
Contents
# frozen_string_literal: true module ActsAsFavoritor class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield configuration end class Configuration attr_accessor :default_scope attr_accessor :cache def initialize @default_scope = 'favorite' @cache = false end end end
Version data entries
4 entries across 4 versions & 1 rubygems