Sha256: d19f47d88a71e5626064878b82908fe51221b788cf3ffe02d7595c5120d724a6
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
module Clipster class Configuration attr_accessor :user_class attr_accessor :associates_clip_with_user attr_accessor :user_display_attribute def associates_clip_with_user @associates_clip_with_user || false end def user_class @user_class.constantize || "User".constantize end def user_class=(user_class) @user_class = user_class end def user_display_attribute @user_display_attribute || "email" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
clipster-0.5.3 | lib/clipster/configuration.rb |
clipster-0.4.0 | lib/clipster/configuration.rb |