lib/approval.rb in approval-0.1.0 vs lib/approval.rb in approval-0.2.0
- old
+ new
@@ -1,5 +1,13 @@
-require "approval/version"
-
module Approval
- # Your code goes here...
+ def self.config
+ @_config ||= Config.new
+ end
+
+ def self.configure
+ yield config
+ end
end
+
+require "approval/config"
+require "approval/engine" if defined?(::Rails)
+require "approval/version"