Method: Machinery::WorkloadMapperDSL#identify

Defined in:
lib/workload_mapper_dsl.rb

#identify(name, service = nil) ⇒ Object



26
27
28
29
# File 'lib/workload_mapper_dsl.rb', line 26

def identify(name, service = nil)
  @name = name
  @service = !!service ? service : name
end