Class: Kount::RIS::Trigger::Counter
- Defined in:
- app/models/kount/ris/trigger/counter.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#count ⇒ Object
Returns the value of attribute count.
5 6 7 |
# File 'app/models/kount/ris/trigger/counter.rb', line 5 def count @count end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'app/models/kount/ris/trigger/counter.rb', line 5 def name @name end |
Instance Method Details
#to_h ⇒ Object
10 11 12 13 14 15 |
# File 'app/models/kount/ris/trigger/counter.rb', line 10 def to_h { name: name, count: count, } end |