lib/footrest/configuration.rb in footrest-0.1 vs lib/footrest/configuration.rb in footrest-0.1.2
- old
+ new
@@ -2,12 +2,18 @@
require 'active_support/configurable'
module Footrest
include ActiveSupport::Configurable
config_accessor :token
- config_accessor :domain
- config_accessor :path_prefix
+ config_accessor :prefix
+ config_accessor :logging
def configure
yield self
end
-end
\ No newline at end of file
+end
+
+Footrest.configure do |config|
+ config.token = nil
+ config.prefix = nil
+ config.logging = false
+end