Sha256: 5b6f645782a4f04532bd95d19b13fd4d5db27364476b852bd8527f5c693e5a56

Contents?: true

Size: 662 Bytes

Versions: 41

Compression:

Stored size: 662 Bytes

Contents

# frozen_string_literal: true

require 'avm/instances/entry_keys'
require 'avm/eac_postgresql_base0/instance'

module Avm
  module EacPostgresqlBase0
    module InstanceWith
      def pg
        @pg ||= ::Avm::EacPostgresqlBase0::Instance.new(
          host_env, host: database_hostname,
                    port: database_port,
                    user: database_username,
                    password: database_password,
                    name: database_name
        )
      end

      # @return [Avm::EacPostgresqlBase0::Instance::DataUnit]
      def pg_data_unit
        ::Avm::EacPostgresqlBase0::Instance::DataUnit.new(self)
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
eac_tools-0.64.0 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb