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.2.0 lib/fulmar/service/helper/database_helper.rb
fulmar-1.1.0 lib/fulmar/service/helper/database_helper.rb