Sha256: 4dec8037723c960c2331c67c56d4a4c861a96f6828704bc3bf023bfdd0d14443
Contents?: true
Size: 391 Bytes
Versions: 1
Compression:
Stored size: 391 Bytes
Contents
# frozen_string_literal: true module Ukemi class Configuration attr_accessor :ordering_key, :sort_order def initialize @ordering_key = "last_seen" @sort_order = "DESC" end end class << self def configuration @configuration ||= Configuration.new end attr_writer :configuration def configure yield configuration end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ukemi-0.4.1 | lib/ukemi/configuration.rb |