Class: Fog::Rackspace::Orchestration::ResourceSchemas

Inherits:
Collection
  • Object
show all
Defined in:
lib/fog/rackspace/models/orchestration/resource_schemas.rb

Instance Method Summary collapse

Instance Method Details

#get(resource_type) ⇒ Object



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

def get(resource_type)
  service.show_resource_schema(resource_type).body
rescue Fog::Rackspace::Orchestration::NotFound
  nil
end