Class: Camunda::BpmnXML::Task

Inherits:
Object
  • Object
show all
Defined in:
lib/camunda/bpmn_xml.rb

Instance Method Summary collapse

Constructor Details

#initialize(task) ⇒ Task

Returns a new instance of Task.



40
41
42
# File 'lib/camunda/bpmn_xml.rb', line 40

def initialize(task)
  @task = task
end

Instance Method Details

#class_nameObject



44
45
46
# File 'lib/camunda/bpmn_xml.rb', line 44

def class_name
  @task.attribute('id').value
end

#topicObject



48
49
50
# File 'lib/camunda/bpmn_xml.rb', line 48

def topic
  @task.attribute('topic').value
end