Method: VMC::Client#infra_name_for_description
- Defined in:
- lib/vmc/client.rb
#infra_name_for_description(desc) ⇒ Object
397 398 399 400 |
# File 'lib/vmc/client.rb', line 397 def infra_name_for_description(desc) info = infras.detect { |i| i[:description] == desc } info ? info[:infra] : "" end |