Class: Telegram::Bot::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



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

def initialize
  @raise_exceptions = true
end

Instance Attribute Details

#botan_tokenObject

Returns the value of attribute botan_token.



4
5
6
# File 'lib/telegram/bot/configuration.rb', line 4

def botan_token
  @botan_token
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/telegram/bot/configuration.rb', line 4

def name
  @name
end

#raise_exceptionsObject

Returns the value of attribute raise_exceptions.



4
5
6
# File 'lib/telegram/bot/configuration.rb', line 4

def raise_exceptions
  @raise_exceptions
end

#tokenObject

Returns the value of attribute token.



4
5
6
# File 'lib/telegram/bot/configuration.rb', line 4

def token
  @token
end