Method: XcodeServer::Bot#initialize
- Defined in:
- lib/xcode_server/bot.rb
#initialize(server, json) ⇒ Bot
Returns a new instance of Bot.
5 6 7 8 9 10 |
# File 'lib/xcode_server/bot.rb', line 5 def initialize(server, json) @server = server @id = json['_id'] @tinyID = json['tinyID'] @name = json['name'] end |