Class: Ukemi::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/ukemi/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

Returns the value of attribute ordering_key.



5
6
7
# File 'lib/ukemi/configuration.rb', line 5

def ordering_key
  @ordering_key
end

#sort_orderObject

Returns the value of attribute sort_order.



5
6
7
# File 'lib/ukemi/configuration.rb', line 5

def sort_order
  @sort_order
end