Class: Fog::Orchestration::OpenStack::ResourceSchemas

Inherits:
Fog::OpenStack::Collection show all
Defined in:
lib/fog/openstack/models/orchestration/resource_schemas.rb

Instance Attribute Summary

Attributes inherited from Fog::OpenStack::Collection

#response

Instance Method Summary collapse

Methods inherited from Fog::OpenStack::Collection

#all, #destroy, #load_response, #summary

Instance Method Details

#get(resource_type) ⇒ Object



8
9
10
11
12
# File 'lib/fog/openstack/models/orchestration/resource_schemas.rb', line 8

def get(resource_type)
  service.show_resource_schema(resource_type).body
rescue Fog::Compute::OpenStack::NotFound
  nil
end