Sha256: e0dc6fc5c4ea40396e53ecdbe4f29df093b15f79bf686b77e7ac0d92294e3e00

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 Bytes

Contents

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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feeder-0.3.0 lib/feeder/configuration.rb