Class: FastMcpPubsub::Configuration
- Inherits:
-
Object
- Object
- FastMcpPubsub::Configuration
- Defined in:
- lib/fast_mcp_pubsub/configuration.rb
Overview
Configuration class for FastMcpPubsub gem settings
Instance Attribute Summary collapse
-
#auto_start ⇒ Object
Returns the value of attribute auto_start.
-
#channel_name ⇒ Object
Returns the value of attribute channel_name.
-
#connection_pool_size ⇒ Object
Returns the value of attribute connection_pool_size.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
8 9 10 11 12 13 |
# File 'lib/fast_mcp_pubsub/configuration.rb', line 8 def initialize @enabled = true @channel_name = "mcp_broadcast" @auto_start = true @connection_pool_size = 5 end |
Instance Attribute Details
#auto_start ⇒ Object
Returns the value of attribute auto_start.
6 7 8 |
# File 'lib/fast_mcp_pubsub/configuration.rb', line 6 def auto_start @auto_start end |
#channel_name ⇒ Object
Returns the value of attribute channel_name.
6 7 8 |
# File 'lib/fast_mcp_pubsub/configuration.rb', line 6 def channel_name @channel_name end |
#connection_pool_size ⇒ Object
Returns the value of attribute connection_pool_size.
6 7 8 |
# File 'lib/fast_mcp_pubsub/configuration.rb', line 6 def connection_pool_size @connection_pool_size end |
#enabled ⇒ Object
Returns the value of attribute enabled.
6 7 8 |
# File 'lib/fast_mcp_pubsub/configuration.rb', line 6 def enabled @enabled end |