Class: LingrBot

Inherits:
Object
  • Object
show all
Extended by:
BotMethods
Includes:
BotMethods
Defined in:
lib/lingr_bot.rb,
lib/lingr_bot/version.rb

Defined Under Namespace

Modules: BotMethods Classes: Configure

Constant Summary collapse

VERSION =
"0.0.5"

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from BotMethods

configure, say, verifier

Constructor Details

#initialize(options = {}) ⇒ LingrBot

Returns a new instance of LingrBot.



21
22
23
# File 'lib/lingr_bot.rb', line 21

def initialize(options = {})
  self.config = self.class.config.merge options
end

Instance Attribute Details

#configObject

Returns the value of attribute config.



12
13
14
# File 'lib/lingr_bot.rb', line 12

def config
  @config
end