README.md in appsent-0.0.3 vs README.md in appsent-0.0.4
- old
+ new
@@ -18,16 +18,16 @@
require 'appsent'
AppSent.init(:path => 'config', :env => ENV['RACK_ENV']) do
# Hash-based config:
mongo_db_config do
- host :type => String, :example => 'localhost', :desc => 'Host to connect to MongoDB'
- port :type => Fixnum
- pool_size :type => Fixnum
- timeout :type => Fixnum
+ host String, 'Host to connect to MongoDB' => 'localhost'
+ port Fixnum, 'Port to connect to MongoDB'
+ pool_size Fixnum
+ timeout Fixnum
end
- exception_notification_recipients :type => Array
+ exception_notification_recipients Array
end
Access to config values performs in a such way: