lib/feeder/configuration.rb in feeder-0.2.0 vs lib/feeder/configuration.rb in feeder-0.3.0
- old
+ new
@@ -1,9 +1,11 @@
module Feeder
class Configuration
+ attr_accessor :sort_order
attr_reader :observables
def initialize
+ @sort_order = { created_at: :desc }
@observables = []
end
def add_observable(observable)
@observables << observable