lib/teamdrive_api/register.rb
def assign_license_to_client(username, number, devices = nil)
      res = send_request :assignlicensetoclient,
                         username: username,
                         number: number,
                         devices: devices

      res[:intresult].eql?('0')
    end
# Assign license to client (added in RegServ API 1.0.004)
#
# @param [String] username
# @param [String] number License Number
# @param [Array] devices optional list of devices the user posses. If
#   empty, all of the user's devices will be used
# @return [Boolean] success?
Assign license to client (added in RegServ API 1.0.004)
Assign license to client ( added in RegServ API 1 . 0 . 004 )
def assign_license_to_client(username, number, devices = nil)
      res = send_request :assignlicensetoclient,
                         username: username,
                         number: number,
                         devices: devices
      res[:intresult].eql?('0')
    end
def assign_license_to_client ( username , number , devices = nil ) res = send_request :assignlicensetoclient , username : username , number : number , devices : devices res [ :intresult ] . eql? ( '0' ) end
Assign license to client (added in RegServ API 1.0.004)
Assign license to client ( added in RegServ API 1 . 0 . 004 )
None
Boolean
username
number
devices
devices optional list of devices the user posses. If empty, all of the user's devices will be used
devices optional list of devices the user posses . If empty all of the user ' s devices will be used