Class: Kuby::CertManager::DSL::Acme::V1::OrderStatus

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



37
38
39
# File 'lib/kuby/cert-manager/dsl/acme/v1/order_status.rb', line 37

def kind_sym
  :order_status
end

#serializeObject



25
26
27
28
29
30
31
32
33
34
35
# File 'lib/kuby/cert-manager/dsl/acme/v1/order_status.rb', line 25

def serialize
  {}.tap do |result|
    result[:authorizations] = authorizations.map(&:serialize)
    result[:certificate] = certificate
    result[:url] = url
    result[:failureTime] = failure_time
    result[:state] = state
    result[:reason] = reason
    result[:finalizeURL] = finalize_url
  end
end