Class: SimpleEventSourcing::Events::EventStore::RedisClient::Configuration
- Inherits:
-
Object
- Object
- SimpleEventSourcing::Events::EventStore::RedisClient::Configuration
- Defined in:
- lib/simple_event_sourcing/events/event_store/redis/redis_client.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#mock ⇒ Object
Returns the value of attribute mock.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#host ⇒ Object
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 |
#mock ⇒ Object
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 |
#port ⇒ Object
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 |