Class: WfsRails::ProcessParser
- Inherits:
-
Object
- Object
- WfsRails::ProcessParser
- Defined in:
- lib/wfs_rails/process_parser.rb
Overview
Parsing Process creation request
Instance Attribute Summary collapse
-
#process ⇒ Object
readonly
Returns the value of attribute process.
Instance Method Summary collapse
-
#initialize(process) ⇒ ProcessParser
constructor
A new instance of ProcessParser.
- #lane_id ⇒ Object
- #lifecycle ⇒ Object
- #name ⇒ Object
- #status ⇒ Object
Constructor Details
#initialize(process) ⇒ ProcessParser
Returns a new instance of ProcessParser.
9 10 11 |
# File 'lib/wfs_rails/process_parser.rb', line 9 def initialize(process) @process = process end |
Instance Attribute Details
#process ⇒ Object (readonly)
Returns the value of attribute process.
5 6 7 |
# File 'lib/wfs_rails/process_parser.rb', line 5 def process @process end |
Instance Method Details
#lane_id ⇒ Object
21 22 23 |
# File 'lib/wfs_rails/process_parser.rb', line 21 def lane_id process.attr('laneId') end |
#lifecycle ⇒ Object
25 26 27 |
# File 'lib/wfs_rails/process_parser.rb', line 25 def lifecycle process.attr('lifecycle') end |
#name ⇒ Object
13 14 15 |
# File 'lib/wfs_rails/process_parser.rb', line 13 def name process.attr('name') end |
#status ⇒ Object
17 18 19 |
# File 'lib/wfs_rails/process_parser.rb', line 17 def status process.attr('status') end |