Class: Rebot::Bot::Identity

Inherits:
Struct
  • Object
show all
Defined in:
lib/rebot/bot.rb

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



7
8
9
# File 'lib/rebot/bot.rb', line 7

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/rebot/bot.rb', line 7

def name
  @name
end