Class: Fog::ContainerInfra::OpenStack::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/container_infra/openstack/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/container_infra/openstack/models/certificates.rb', line 16
def get(bay_uuid)
resource = service.get_certificate(bay_uuid).body
new(resource)
rescue Fog::ContainerInfra::OpenStack::NotFound
nil
end
|