Class: EventStoreClient::Connection::Url Private

Inherits:
Object
  • Object
show all
Includes:
Extensions::OptionsExtension
Defined in:
lib/event_store_client/connection/url.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Structured representation of connection string. You should not use it directly. If you would like to parse connection string into an instance of this class - use EventStoreClient::Connection::UrlParser instead.

Defined Under Namespace

Classes: Node

Constant Summary collapse

NODE_PREFERENCES =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

%i[Leader Follower ReadOnlyReplica].freeze

Instance Method Summary collapse

Methods included from Extensions::OptionsExtension

included, #initialize, #options_hash

Instance Method Details

#==(other) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

Returns:

  • (Boolean)


58
59
60
61
62
# File 'lib/event_store_client/connection/url.rb', line 58

def ==(other)
  return false unless other.is_a?(Url)

  options_hash == other.options_hash
end