lib/fulmar/service/helper/database_helper.rb in fulmar-1.0.0 vs lib/fulmar/service/helper/database_helper.rb in fulmar-1.1.0
- old
+ new
@@ -1,8 +1,9 @@
module Fulmar
module Domain
module Service
module Helper
+ # Provides access helper to the database service from within a task
module DatabaseHelper
def database
storage['database'] ||= Fulmar::Infrastructure::Service::Database::DatabaseService.new configuration
end
end