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

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

Instance Attribute Summary

Attributes inherited from OpenStack::Model

#project

Instance Method Summary collapse

Methods inherited from Base

#convert_update_params

Methods inherited from OpenStack::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/container_infra/openstack/models/certificate.rb', line 12

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