Sha256: fd7c1eadfca6152580df0f362738539b6a63a75b60771ddb967c85fd39524784

Contents?: true

Size: 365 Bytes

Versions: 42

Compression:

Stored size: 365 Bytes

Contents

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
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
fulmar-1.8.0 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.7.5 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.7.4 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.7.3 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.7.2 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.7.1 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.7.0 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.6.4 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.6.3 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.6.2 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.6.1 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.6.0 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.5.2 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.5.1 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.5.0 lib/fulmar/service/helper/database_helper.rb
fulmar-1.4.2 lib/fulmar/service/helper/database_helper.rb
fulmar-1.4.1 lib/fulmar/service/helper/database_helper.rb
fulmar-1.4.0 lib/fulmar/service/helper/database_helper.rb
fulmar-1.3.0 lib/fulmar/service/helper/database_helper.rb
fulmar-1.2.1 lib/fulmar/service/helper/database_helper.rb