Class: ProcessEngine::Parser::ComplexGateway
- Inherits:
-
XmlNode
- Object
- XmlNode
- ProcessEngine::Parser::ComplexGateway
- Defined in:
- app/models/process_engine/parser/complex_gateway.rb
Instance Method Summary collapse
- #extension_elements ⇒ Object
-
#initialize(element) ⇒ ComplexGateway
constructor
A new instance of ComplexGateway.
- #to_h ⇒ Object
Constructor Details
#initialize(element) ⇒ ComplexGateway
Returns a new instance of ComplexGateway.
2 3 4 |
# File 'app/models/process_engine/parser/complex_gateway.rb', line 2 def initialize(element) super(element) end |
Instance Method Details
#extension_elements ⇒ Object
6 7 8 9 |
# File 'app/models/process_engine/parser/complex_gateway.rb', line 6 def extension_elements # support [executionListener], [property] custom_extension_elements(:execution_listeners, :properties) end |
#to_h ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'app/models/process_engine/parser/complex_gateway.rb', line 11 def to_h custom_ext = custom_extension_elements_hash(:execution_listeners, :properties) super.merge({ extension: { common: custom_ext } }) end |