lib/cellular.rb in cellular-0.0.0 vs lib/cellular.rb in cellular-1.0.0
- old
+ new
@@ -1,4 +1,20 @@
require 'cellular/version'
+require 'cellular/configuration'
+require 'cellular/models/sms'
+require 'cellular/backends'
module Cellular
+
+ class << self
+ attr_accessor :config
+
+ def configure
+ yield config
+ end
+
+ def config
+ @config ||= Configuration.new
+ end
+ end
+
end