Sha256: 4e6fdd602a327e77ed9aed1f382d155cadb98405e4179e4a254020578fed44ae
Contents?: true
Size: 490 Bytes
Versions: 18
Compression:
Stored size: 490 Bytes
Contents
require 'singleton' module Approvals class << self def configure(&block) block.call Approvals::Configuration.instance end def configuration Approvals::Configuration.instance end end class Configuration include Singleton attr_writer :approvals_path attr_writer :excluded_json_keys def approvals_path @approvals_path ||= 'fixtures/approvals/' end def excluded_json_keys @excluded_json_keys ||= {} end end end
Version data entries
18 entries across 18 versions & 2 rubygems