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.10.1 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.10.0 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.9.2 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.9.1 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.9.0 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.15 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.14 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.13 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.12 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.11 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.10 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.9 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.8 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.7 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.6 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.5 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.4 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.3 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.2 lib/fulmar/domain/service/helper/database_helper.rb
fulmar-1.8.1 lib/fulmar/domain/service/helper/database_helper.rb