Class: SimpleEventSourcing::Events::EventStore::RedisClient::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_event_sourcing/events/event_store/redis/redis_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



27
28
29
30
31
# File 'lib/simple_event_sourcing/events/event_store/redis/redis_client.rb', line 27

def initialize
  @host ='localhost'
  @port = 6379
  @mock = false
end

Instance Attribute Details

#hostObject

Returns the value of attribute host.



25
26
27
# File 'lib/simple_event_sourcing/events/event_store/redis/redis_client.rb', line 25

def host
  @host
end

#mockObject

Returns the value of attribute mock.



25
26
27
# File 'lib/simple_event_sourcing/events/event_store/redis/redis_client.rb', line 25

def mock
  @mock
end

#portObject

Returns the value of attribute port.



25
26
27
# File 'lib/simple_event_sourcing/events/event_store/redis/redis_client.rb', line 25

def port
  @port
end