Class: KeytechKit::GroupBy
- Inherits:
-
Object
- Object
- KeytechKit::GroupBy
- Defined in:
- lib/keytechKit/elements/group_by.rb
Overview
A key - values list that conatins a Name and a list of values
Instance Attribute Summary collapse
-
#attributeDisplayName ⇒ Object
Returns the value of attribute attributeDisplayName.
-
#attributeName ⇒ Object
Returns the value of attribute attributeName.
-
#values ⇒ Object
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(data) ⇒ GroupBy
constructor
A new instance of GroupBy.
Constructor Details
#initialize(data) ⇒ GroupBy
Returns a new instance of GroupBy.
10 11 12 13 14 |
# File 'lib/keytechKit/elements/group_by.rb', line 10 def initialize(data) self.attributeName = data['AttributeName'] self.attributeDisplayName = data['AttributeDisplayName'] self.values = data['Values'] end |
Instance Attribute Details
#attributeDisplayName ⇒ Object
Returns the value of attribute attributeDisplayName.
7 8 9 |
# File 'lib/keytechKit/elements/group_by.rb', line 7 def attributeDisplayName @attributeDisplayName end |
#attributeName ⇒ Object
Returns the value of attribute attributeName.
6 7 8 |
# File 'lib/keytechKit/elements/group_by.rb', line 6 def attributeName @attributeName end |
#values ⇒ Object
Returns the value of attribute values.
8 9 10 |
# File 'lib/keytechKit/elements/group_by.rb', line 8 def values @values end |