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
avm-eac_postgresql_base0-0.5.3 lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.86.3 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.86.2 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.86.1 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.86.0 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.85.1 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.85.0 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.84.2 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.84.1 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.84.0 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.83.0 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.82.0 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.81.0 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.80.0 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.79.0 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.78.0 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.77.1 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.77.0 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.76.1 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
eac_tools-0.76.0 sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb