module Epitech::Api::SearchApi

Public Instance Methods

get_logins(opts={}) click to toggle source

Used to search logins across the Ionis users through 3 criterias :

  • Schoolname

  • Promo

  • City

@param opts [Hash] A Hash that should contain at least one of the 3 criterias @return [Array] An Array of logins

# File lib/api/search_api.rb, line 17
def get_logins(opts={})
  call_api(action: 'get_logins', school: opts[:school], promo: opts[:promo], city: opts[:city])
end