Class: Ukemi::Configuration
- Inherits:
-
Object
- Object
- Ukemi::Configuration
- Defined in:
- lib/ukemi/configuration.rb
Instance Attribute Summary collapse
-
#ordering_key ⇒ Object
Returns the value of attribute ordering_key.
-
#sort_order ⇒ Object
Returns the value of attribute sort_order.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/ukemi/configuration.rb', line 7 def initialize @ordering_key = "last_seen" @sort_order = "DESC" end |
Instance Attribute Details
#ordering_key ⇒ Object
Returns the value of attribute ordering_key.
5 6 7 |
# File 'lib/ukemi/configuration.rb', line 5 def ordering_key @ordering_key end |
#sort_order ⇒ Object
Returns the value of attribute sort_order.
5 6 7 |
# File 'lib/ukemi/configuration.rb', line 5 def sort_order @sort_order end |