module Atheme

Constants

PARSERS
SERVICES
VERSION

Public Class Methods

call(*args) click to toggle source
# File lib/atheme.rb, line 35
def self.call(*args)
  server.call(*args)
end
server() click to toggle source
# File lib/atheme.rb, line 31
def self.server
  XMLRPC::Client.new2("#{Atheme.options.protocol}://#{Atheme.options.hostname}:#{Atheme.options.port}/xmlrpc")
end
set_user(cookie, username, ip) click to toggle source
# File lib/atheme.rb, line 39
def self.set_user(cookie, username, ip)
  self.user = Atheme::ObjectifiedHash.new({ cookie: cookie, username: username, ip: ip })
end