def find_rsrc_keys(args)
      lookup_keys = self.class.lookup_keys
      lookup_key = (self.class.lookup_keys & args.keys)[0]

      raise JSS::MissingDataError, "Args must include a lookup key, one of: :#{lookup_keys.join(', :')}" unless lookup_key

      vid = self.class.valid_id args[lookup_key], :refresh, api: args[:api]

      raise NoSuchItemError, "No #{self.class::RSRC_OBJECT_KEY} found with #{lookup_key} '#{args[lookup_key]}'" unless vid

      [:id, vid]
      # rsrc_key = self.class.rsrc_keys[lookup_key]
      # [rsrc_key, args[lookup_key]]
    end
def find_rsrc_keys(args)
      lookup_keys = self.class.lookup_keys
      lookup_key = (self.class.lookup_keys & args.keys)[0]

      raise JSS::MissingDataError, "Args must include a lookup key, one of: :#{lookup_keys.join(', :')}" unless lookup_key

      vid = self.class.valid_id args[lookup_key], :refresh, api: args[:api]

      raise NoSuchItemError, "No #{self.class::RSRC_OBJECT_KEY} found with #{lookup_key} '#{args[lookup_key]}'" unless vid

      [:id, vid]
      # rsrc_key = self.class.rsrc_keys[lookup_key]
      # [rsrc_key, args[lookup_key]]
    end
Given initialization args, determine the rsrc key and
 lookup value to be used in building the GET resource.
 E.g. for looking up something with id 345,
 return the rsrc_key :id, and the value 345, which
 can be used to create the resrouce
 '/things/id/345'

 CHANGE: some the new patch-related objects don't have
 GET resources by name, only id. So this method now always
 returns the id-based resource.

 TODO: clean up this and the above methods, since the
 id-only get rsrcs actually should simplify the code.

 @param args[Hash] The args passed to #initialize

 @return [Array] Two item array: [ rsrc_key, lookup_value]