Class: Fog::OpenStack::Orchestration::ResourceSchemas
- Inherits:
-
Collection
- Object
- Collection
- Collection
- Fog::OpenStack::Orchestration::ResourceSchemas
show all
- Defined in:
- lib/fog/openstack/orchestration/models/resource_schemas.rb
Instance Attribute Summary
Attributes inherited from Collection
#response
Instance Method Summary
collapse
Methods inherited from Collection
#all, #destroy, #find_by_id, #load_response, #summary
Instance Method Details
#get(resource_type) ⇒ Object
7
8
9
10
11
|
# File 'lib/fog/openstack/orchestration/models/resource_schemas.rb', line 7
def get(resource_type)
service.show_resource_schema(resource_type).body
rescue Fog::OpenStack::Compute::NotFound
nil
end
|