Class: Operaton::Bpm::Client::Task::OrderingConfig::OrderingProperty
- Inherits:
-
Object
- Object
- Operaton::Bpm::Client::Task::OrderingConfig::OrderingProperty
- Defined in:
- lib/operaton/bpm/client/task/ordering_config.rb
Overview
Mirrors OrderingConfig.OrderingProperty
Instance Attribute Summary collapse
-
#direction ⇒ Object
Returns the value of attribute direction.
-
#field ⇒ Object
Returns the value of attribute field.
Class Method Summary collapse
Instance Attribute Details
#direction ⇒ Object
Returns the value of attribute direction.
65 66 67 |
# File 'lib/operaton/bpm/client/task/ordering_config.rb', line 65 def direction @direction end |
#field ⇒ Object
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 |