Class: Pec::Handler::Flavor
Class Method Summary collapse
Class Method Details
.build(host) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/pec/handler/flavor.rb', line 5 def self.build(host) Pec::Logger.notice "flavor is #{host.flavor}" { flavorRef: Yao::Flavor.list.find {|flavor| flavor.name == host.flavor}.id } end |