Class: SolidQueueUi::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/solid_queue_ui/config.rb

Constant Summary collapse

DEFAULTS =
{
  labels: Set.new,
  require: ".",
}

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Config

Returns a new instance of Config.



11
12
13
# File 'lib/solid_queue_ui/config.rb', line 11

def initialize(options = {})
  @directory = {}
end

Instance Method Details

#to_jsonObject



15
16
17
# File 'lib/solid_queue_ui/config.rb', line 15

def to_json(*)
  SolidQueueUi.dump_json(@options)
end