class XcodeServer::Bot
Attributes
id[R]
name[R]
tinyID[R]
Public Class Methods
new(server, json)
click to toggle source
# File lib/xcode_server/bot.rb, line 5 def initialize(server, json) @server = server @id = json['_id'] @tinyID = json['tinyID'] @name = json['name'] end
Public Instance Methods
url()
click to toggle source
# File lib/xcode_server/bot.rb, line 12 def url "#{@server.scheme}://#{@server.host}/xcode/bots/latest/#{tinyID}" end