Module: SolidQueueUi
- Defined in:
- lib/solid_queue_ui.rb,
lib/solid_queue_ui/web.rb,
lib/solid_queue_ui/rails.rb,
lib/solid_queue_ui/config.rb,
lib/solid_queue_ui/railtie.rb,
lib/solid_queue_ui/version.rb,
lib/solid_queue_ui/web/action.rb,
lib/solid_queue_ui/web/router.rb,
lib/solid_queue_ui/web/helpers.rb,
lib/solid_queue_ui/web/application.rb,
lib/solid_queue_ui/web/csrf_protection.rb
Defined Under Namespace
Modules: WebHelpers, WebRouter
Classes: Config, Railtie, Web, WebAction, WebApplication, WebRoute
Constant Summary
collapse
- NAME =
"SolidQueueUi"
- VERSION =
"0.1.1"
Class Method Summary
collapse
Class Method Details
.dump_json(object) ⇒ Object
11
12
13
|
# File 'lib/solid_queue_ui.rb', line 11
def self.dump_json(object)
JSON.generate(object)
end
|
.freeze! ⇒ Object
15
16
17
18
|
# File 'lib/solid_queue_ui.rb', line 15
def self.freeze!
@frozen = true
@config_blocks = nil
end
|
.load_json(string) ⇒ Object
7
8
9
|
# File 'lib/solid_queue_ui.rb', line 7
def self.load_json(string)
JSON.parse(string)
end
|