Sha256: e187e7a02532ae9bc78b4e9a6d05e7a77a7447d6fad778f1e28a37127094072a
Contents?: true
Size: 343 Bytes
Versions: 3
Compression:
Stored size: 343 Bytes
Contents
require 'active_support/core_ext/class/attribute_accessors' module RailsAdserver module Config class << self attr_accessor :application_name attr_accessor :carrierwave_method def current_user_method(&block) @current_user = block if block @current_user || DEFAULT_CURRENT_USER end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails_adserver-1.0.2 | lib/rails_adserver/config.rb |
rails_adserver-1.0.1 | lib/rails_adserver/config.rb |
rails_adserver-1.0.0 | lib/rails_adserver/config.rb |