Sha256: 0918cde0a92e8c6fc08ce578dfa2253536426ad26e3aca3499ab8065b3edc695

Contents?: true

Size: 434 Bytes

Versions: 32

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

module Orchestration
  module Services
    module Database
      module Adapters
        module AdapterBase
          attr_reader :config

          def initialize(config = nil)
            @config = config
          end

          def console_command
            I18n.t("orchestration.dbconsole.#{name}") % config.settings.transform_keys(&:to_sym)
          end
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
orchestration-0.7.15 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.6.16 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.7.14 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.7.13 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.6.15 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.7.12 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.6.14 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.7.11 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.6.13 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.7.10 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.7.9 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.6.12 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.7.8 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.6.11 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.7.6 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.6.10 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.7.5 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.7.4 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.6.9 lib/orchestration/services/database/adapters/adapter_base.rb
orchestration-0.6.8 lib/orchestration/services/database/adapters/adapter_base.rb