class Locum::HostingUnit
Attributes
login[RW]
password[RW]
server[RW]
Public Class Methods
get()
click to toggle source
# File lib/locum/hosting_unit.rb, line 6 def self.get res = Locum::Api.call(:hosting_unit) res = res['hosting_unit'] hu = self.new hu.login = res['login'] hu.password = res['password'] hu.server = "#{res['server']}.locum.ru" hu end