module Epitech::Api::InfoApi
Public Instance Methods
get_infos(login)
click to toggle source
Get all the infos about a Ionis login Each information can be retrieved separately through the get_xxx method example:
connection.get_name('exampl_e') connection.get_uid('exampl_e')
@param login [String] The login to look for @return [Hash] The corresponding infos
# File lib/api/info_api.rb, line 23 def get_infos(login) call_api(action: 'get_infos', login: login) end
get_login_from_uid(uid)
click to toggle source
Get a Ionis login from a UID @param uid [String, Integer] The UID to look for @return [String] The corresponding login
# File lib/api/info_api.rb, line 6 def get_login_from_uid(uid) call_api(action: 'get_login_from_uid', uid: uid)['login'] end