Sha256: 96ad3cd9cf8ece94008fd0a5d4dc9a8704da8c07d7a78ee940798cbd5d9112b6
Contents?: true
Size: 431 Bytes
Versions: 25
Compression:
Stored size: 431 Bytes
Contents
require "chef/chef_fs/data_handler/data_handler_base" class Chef module ChefFS module DataHandler class OrganizationInvitesDataHandler < DataHandlerBase def normalize(invites, entry) invites.map { |invite| invite.is_a?(Hash) ? invite["username"] : invite }.compact.sort.uniq end def minimize(invites, entry) invites end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems