Class: Fog::OpenStack::ContainerInfra::Certificate

Inherits:
Base
  • Object
show all
Defined in:
lib/fog/openstack/container_infra/models/certificate.rb

Instance Attribute Summary

Attributes inherited from Model

#project

Instance Method Summary collapse

Methods inherited from Base

#convert_update_params

Methods inherited from Model

#destroy, #initialize, #save, #update

Constructor Details

This class inherits a constructor from Fog::OpenStack::Model

Instance Method Details

#createObject



12
13
14
15
16
# File 'lib/fog/openstack/container_infra/models/certificate.rb', line 12

def create
  requires :csr, :bay_uuid
  merge_attributes(service.create_certificate(attributes).body)
  self
end