class Avmtrf1::Red::Server
def by_ini_profile(ini_profile)
def by_ini_profile(ini_profile) new(ini_profile.fetch('red.server')) end
def client(login, ip, sistema, nome_maquina)
def client(login, ip, sistema, nome_maquina) ::Avmtrf1::Red::Client.new(self, login, ip, sistema, nome_maquina) end
def initialize(host)
def initialize(host) @host = host end
def resource_url(url_suffix)
def resource_url(url_suffix) "#{root_url}#{url_suffix}" end
def root_url
def root_url "http://#{host}" end