lib/clipster/configuration.rb in clipster-0.5.2 vs lib/clipster/configuration.rb in clipster-0.5.3
- old
+ new
@@ -1,23 +1,23 @@
-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
+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
\ No newline at end of file