Class: CodeOwnership::Private::PackOwnershipValidator

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Packwerk::Validator
Defined in:
lib/code_ownership/private/permit_pack_owner_top_level_key.rb

Instance Method Summary collapse

Instance Method Details

#call(package_set, configuration) ⇒ Object



13
14
15
# File 'lib/code_ownership/private/permit_pack_owner_top_level_key.rb', line 13

def call(package_set, configuration)
  Result.new(ok: true)
end

#permitted_keysObject



18
19
20
# File 'lib/code_ownership/private/permit_pack_owner_top_level_key.rb', line 18

def permitted_keys
  %w[owner]
end