Module: Roda::RodaPlugins::ReeRoutes
- Defined in:
- lib/ree_lib/packages/ree_roda/package/ree_roda/plugins/ree_routes.rb
Defined Under Namespace
Modules: ClassMethods, RequestMethods
Class Method Summary
collapse
Class Method Details
14
15
16
|
# File 'lib/ree_lib/packages/ree_roda/package/ree_roda/plugins/ree_routes.rb', line 14
def self.configure(app, opts = {})
app.opts[:ree_routes_before] = opts[:before] if opts[:before]
end
|
.load_dependencies(app, opts = {}) ⇒ Object
4
5
6
7
8
9
10
11
12
|
# File 'lib/ree_lib/packages/ree_roda/package/ree_roda/plugins/ree_routes.rb', line 4
def self.load_dependencies(app, opts = {})
package_require("ree_roda/services/build_routing_tree")
package_require("ree_roda/services/build_swagger_from_routes")
package_require("ree_json/functions/to_json")
package_require("ree_hash/functions/transform_values")
package_require("ree_object/functions/not_blank")
app.plugin :all_verbs
end
|