Class: Kuby::CertManager::DSL::Acme::V1::Challenge

Inherits:
KubeDSL::DSLObject
  • Object
show all
Defined in:
lib/kuby/cert-manager/dsl/acme/v1/challenge.rb

Instance Method Summary collapse

Instance Method Details

#kind_symObject



29
30
31
# File 'lib/kuby/cert-manager/dsl/acme/v1/challenge.rb', line 29

def kind_sym
  :challenge
end

#serializeObject



19
20
21
22
23
24
25
26
27
# File 'lib/kuby/cert-manager/dsl/acme/v1/challenge.rb', line 19

def serialize
  {}.tap do |result|
    result[:status] = status.serialize
    result[:kind] = "Challenge"
    result[:spec] = spec.serialize
    result[:apiVersion] = api_version
    result[:metadata] = .serialize
  end
end