Sha256: 972c1326b71a7229ec6095cd2ab6773b1499335005f93408a677be5d51b4a109
Contents?: true
Size: 322 Bytes
Versions: 3
Compression:
Stored size: 322 Bytes
Contents
module Laboratory class Config class << self attr_accessor( :current_user_id, :adapter, :actor, :on_assignment_to_variant, :on_event_recorded ) def current_user @current_user ||= Laboratory::User.new(id: current_user_id) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
laboratory-0.1.2 | lib/laboratory/config.rb |
laboratory-0.1.1 | lib/laboratory/config.rb |
laboratory-0.1.0 | lib/laboratory/config.rb |