Class: Telegram::Bot::Configuration

Inherits:
Object
  • Object
show all
Defined in:
sig/telegram/bot/core.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



16
# File 'sig/telegram/bot/core.rbs', line 16

def initialize: () -> void

Instance Attribute Details

#adapterSymbol

Returns the value of attribute adapter.

Returns:

  • (Symbol)


11
12
13
# File 'sig/telegram/bot/core.rbs', line 11

def adapter
  @adapter
end

#adapter_optionsHash[Symbol, untyped]?

Returns the value of attribute adapter_options.

Returns:

  • (Hash[Symbol, untyped], nil)


12
13
14
# File 'sig/telegram/bot/core.rbs', line 12

def adapter_options
  @adapter_options
end

#connection_open_timeoutNumeric

Returns the value of attribute connection_open_timeout.

Returns:

  • (Numeric)


13
14
15
# File 'sig/telegram/bot/core.rbs', line 13

def connection_open_timeout
  @connection_open_timeout
end

#connection_timeoutNumeric

Returns the value of attribute connection_timeout.

Returns:

  • (Numeric)


14
15
16
# File 'sig/telegram/bot/core.rbs', line 14

def connection_timeout
  @connection_timeout
end