lib/ask.rb in ask-0.4.1 vs lib/ask.rb in ask-0.5.0
- old
+ new
@@ -1,6 +1,16 @@
require "ask/engine"
require "ask/acts_as_asker"
require "ask/acts_as_answerer"
+require "carrierwave"
module Ask
+ require 'ask/configuration'
+
+ def self.configure
+ yield config
+ end
+
+ def self.config
+ @config ||= Configuration.new
+ end
end