Class: Operation

Inherits:
Object
  • Object
show all
Defined in:
lib/agent/operation.rb

Overview

Ruby version of the Operation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(properties, label, operationType) ⇒ Operation

Returns a new instance of Operation.



7
8
9
10
11
# File 'lib/agent/operation.rb', line 7

def initialize(properties, label, operationType)
  @properties = properties
  @label = label
  @operationType = operationType
end

Instance Attribute Details

#labelObject

Returns the value of attribute label.



13
14
15
# File 'lib/agent/operation.rb', line 13

def label
  @label
end

#operationTypeObject

Returns the value of attribute operationType.



13
14
15
# File 'lib/agent/operation.rb', line 13

def operationType
  @operationType
end