Class: Kuby::CertManager::DSL::Acme::V1::OrderList

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



26
27
28
# File 'lib/kuby/cert-manager/dsl/acme/v1/order_list.rb', line 26

def kind_sym
  :order_list
end

#serializeObject



17
18
19
20
21
22
23
24
# File 'lib/kuby/cert-manager/dsl/acme/v1/order_list.rb', line 17

def serialize
  {}.tap do |result|
    result[:items] = items.map(&:serialize)
    result[:kind] = "OrderList"
    result[:apiVersion] = api_version
    result[:metadata] = .serialize
  end
end