Class: Mindee::V1::Parsing::Common::ExecutionFile
- Inherits:
-
Object
- Object
- Mindee::V1::Parsing::Common::ExecutionFile
- Defined in:
- lib/mindee/v1/parsing/common/execution_file.rb
Overview
Representation of a workflow execution’s file data.
Instance Attribute Summary collapse
-
#alias ⇒ String
readonly
Optional alias for the file.
-
#name ⇒ String
readonly
File name.
Instance Method Summary collapse
-
#initialize(http_response) ⇒ ExecutionFile
constructor
A new instance of ExecutionFile.
Constructor Details
#initialize(http_response) ⇒ ExecutionFile
Returns a new instance of ExecutionFile.
18 19 20 21 |
# File 'lib/mindee/v1/parsing/common/execution_file.rb', line 18 def initialize(http_response) @name = http_response['name'] @alias = http_response['alias'] end |
Instance Attribute Details
#alias ⇒ String (readonly)
Optional alias for the file.
15 16 17 |
# File 'lib/mindee/v1/parsing/common/execution_file.rb', line 15 def alias @alias end |
#name ⇒ String (readonly)
File name.
11 12 13 |
# File 'lib/mindee/v1/parsing/common/execution_file.rb', line 11 def name @name end |