Module: InTotoAttestation::V1

Defined in:
lib/in_toto_attestation/v1/statement_pb.rb,
lib/in_toto_attestation/v1/resource_descriptor_pb.rb

Defined Under Namespace

Classes: ResourceDescriptor, Statement

Class Method Summary collapse

Class Method Details

.register_resource_descriptor_protos(registry) ⇒ Object



59
60
61
62
# File 'lib/in_toto_attestation/v1/resource_descriptor_pb.rb', line 59

def self.register_resource_descriptor_protos(registry)
  Google::Protobuf.register_struct_protos(registry)
  registry.register(InTotoAttestation::V1::ResourceDescriptor)
end

.register_statement_protos(registry) ⇒ Object



58
59
60
61
62
# File 'lib/in_toto_attestation/v1/statement_pb.rb', line 58

def self.register_statement_protos(registry)
  Google::Protobuf.register_struct_protos(registry)
  InTotoAttestation::V1.register_resource_descriptor_protos(registry)
  registry.register(InTotoAttestation::V1::Statement)
end