Sha256: c841fbdf06f22f0f48b6dad24d885aad664486b5d0d8af33904492095779b420

Contents?: true

Size: 600 Bytes

Versions: 1

Compression:

Stored size: 600 Bytes

Contents

module MarkLogic
  module Persistence
    include MarkLogic::Loggable

    def connection=(conn)
      @connection = conn if conn
    end

    def connection
      @connection
    end

    def manage_connection=(manage_conn)
      @manage_connection = manage_conn if manage_conn
    end

    def manage_connection
      @manage_connection ||= MarkLogic::Connection.manage_connection
    end

    def admin_connection=(admin_conn)
      @admin_connection = admin_conn if admin_conn
    end

    def admin_connection
      @admin_connection ||= MarkLogic::Connection.admin_connection
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
marklogic-0.0.1 lib/marklogic/persistence.rb