Sha256: a22f50c3fad04b22a73b38a7848d6f353edc516d43ab1cd1231e175f6020bfe6

Contents?: true

Size: 406 Bytes

Versions: 80

Compression:

Stored size: 406 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 }.sort.uniq
        end

        def minimize(invites, entry)
          invites
        end
      end
    end
  end
end

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
chef-12.22.5 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-12.22.5-universal-mingw32 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-12.22.3 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-12.22.3-universal-mingw32 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-13.7.16-universal-mingw32 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-13.7.16 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-12.21.31 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-12.21.31-universal-mingw32 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-13.6.4-universal-mingw32 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-13.6.4 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-13.6.0-universal-mingw32 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-13.6.0 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-12.21.26 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-12.21.26-universal-mingw32 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-12.21.20-universal-mingw32 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-12.21.20 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-13.5.3-universal-mingw32 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-13.5.3 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-12.21.14-universal-mingw32 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb
chef-12.21.14 lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb