Class: Mindee::V1::Parsing::Common::ExecutionFile

Inherits:
Object
  • Object
show all
Defined in:
lib/mindee/v1/parsing/common/execution_file.rb

Overview

Representation of a workflow execution's file data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(http_response) ⇒ ExecutionFile

Returns a new instance of ExecutionFile.

Parameters:

  • http_response (Hash)


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

#aliasString (readonly)

Optional alias for the file.

Returns:

  • (String)


15
16
17
# File 'lib/mindee/v1/parsing/common/execution_file.rb', line 15

def alias
  @alias
end

#nameString (readonly)

File name.

Returns:

  • (String)


11
12
13
# File 'lib/mindee/v1/parsing/common/execution_file.rb', line 11

def name
  @name
end