Class: Kuby::CertManager::DSL::Acme::V1::OrderSpec

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



34
35
36
# File 'lib/kuby/cert-manager/dsl/acme/v1/order_spec.rb', line 34

def kind_sym
  :order_spec
end

#serializeObject



23
24
25
26
27
28
29
30
31
32
# File 'lib/kuby/cert-manager/dsl/acme/v1/order_spec.rb', line 23

def serialize
  {}.tap do |result|
    result[:issuerRef] = issuer_ref.serialize
    result[:dnsNames] = dns_names
    result[:request] = request
    result[:commonName] = common_name
    result[:ipAddresses] = ip_addresses
    result[:duration] = duration
  end
end