Class: Pec::Compute::Tenant
- Inherits:
-
Object
- Object
- Pec::Compute::Tenant
- Extended by:
- Query
- Defined in:
- lib/pec/compute/tenant.rb
Class Method Summary collapse
Methods included from Query
Class Method Details
.get_name(id) ⇒ Object
6 7 8 |
# File 'lib/pec/compute/tenant.rb', line 6 def get_name(id) list.find {|p| p["id"] == id }["name"] end |