Class: Operaton::Bpm::Client::Task::OrderingConfig::OrderingProperty

Inherits:
Object
  • Object
show all
Defined in:
lib/operaton/bpm/client/task/ordering_config.rb

Overview

Mirrors OrderingConfig.OrderingProperty

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#directionObject

Returns the value of attribute direction.



65
66
67
# File 'lib/operaton/bpm/client/task/ordering_config.rb', line 65

def direction
  @direction
end

#fieldObject

Returns the value of attribute field.



65
66
67
# File 'lib/operaton/bpm/client/task/ordering_config.rb', line 65

def field
  @field
end

Class Method Details

.of(field, direction) ⇒ Object



67
68
69
70
71
72
# File 'lib/operaton/bpm/client/task/ordering_config.rb', line 67

def self.of(field, direction)
  property = new
  property.field = field
  property.direction = direction
  property
end