Class: EventStoreClient::Configuration

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/event_store_client/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#adapterObject

Returns the value of attribute adapter.



10
11
12
# File 'lib/event_store_client/configuration.rb', line 10

def adapter
  @adapter
end

#error_handlerObject

Returns the value of attribute error_handler.



10
11
12
# File 'lib/event_store_client/configuration.rb', line 10

def error_handler
  @error_handler
end

#mapperObject

Returns the value of attribute mapper.



10
11
12
# File 'lib/event_store_client/configuration.rb', line 10

def mapper
  @mapper
end

#per_pageObject

Returns the value of attribute per_page.



10
11
12
# File 'lib/event_store_client/configuration.rb', line 10

def per_page
  @per_page
end

#pid_pathObject

Returns the value of attribute pid_path.



10
11
12
# File 'lib/event_store_client/configuration.rb', line 10

def pid_path
  @pid_path
end

#service_nameObject

Returns the value of attribute service_name.



10
11
12
# File 'lib/event_store_client/configuration.rb', line 10

def service_name
  @service_name
end

Instance Method Details

#configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



12
13
14
# File 'lib/event_store_client/configuration.rb', line 12

def configure
  yield(self) if block_given?
end