Class: FastMcpPubsub::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/fast_mcp_pubsub/configuration.rb

Overview

Configuration class for FastMcpPubsub gem settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



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_startObject

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_nameObject

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_sizeObject

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

#enabledObject

Returns the value of attribute enabled.



6
7
8
# File 'lib/fast_mcp_pubsub/configuration.rb', line 6

def enabled
  @enabled
end