def match(term, api: JSS.api )
      raise JSS::InvalidDataError, "Match term may not be empty" if term.to_s.empty?
      rsrc = "#{self::RSRC_BASE}/#{JSS::Matchable::MATCH_RSRC}/#{term}"
      api.get_rsrc(rsrc)[self::RSRC_LIST_KEY]
    end
def match(term, api: JSS.api )
      raise JSS::InvalidDataError, "Match term may not be empty" if term.to_s.empty?
      rsrc = "#{self::RSRC_BASE}/#{JSS::Matchable::MATCH_RSRC}/#{term}"
      api.get_rsrc(rsrc)[self::RSRC_LIST_KEY]
    end
Variables


  Mixed-in Instance Methods


  Extended Class Methods

 Perform a match, returning an Array of Hashes, one for each item matched

 At the moment, it appears the search is an "exact match" search
 regardless of the prefs of the user connected to the API.

 @param term[String] the term to match.

 @return [Array<Hash>] the item smatched.