Class: Fog::OpenStack::ContainerInfra::Certificates
Instance Attribute Summary
#response
Instance Method Summary
collapse
#all, #destroy, #find_by_id, #load_response, #summary
Instance Method Details
#create(bay_uuid) ⇒ Object
11
12
13
14
|
# File 'lib/fog/openstack/container_infra/models/certificates.rb', line 11
def create(bay_uuid)
resource = service.create_certificate(bay_uuid).body
new(resource)
end
|
#get(bay_uuid) ⇒ Object
16
17
18
19
20
21
|
# File 'lib/fog/openstack/container_infra/models/certificates.rb', line 16
def get(bay_uuid)
resource = service.get_certificate(bay_uuid).body
new(resource)
rescue Fog::OpenStack::ContainerInfra::NotFound
nil
end
|