Module: Lina

Defined in:
lib/lina/tree.rb,
lib/lina/error.rb,
lib/lina/engine.rb,
lib/lina/schema.rb,
lib/lina/version.rb,
app/helpers/lina/application_helper.rb,
app/controllers/lina/base_controller.rb,
lib/generators/lina/api/api_generator.rb,
app/controllers/lina/apidoc_controller.rb,
app/controllers/lina/schema_controller.rb,
app/controllers/lina/application_controller.rb,
lib/generators/lina/install/install_generator.rb

Defined Under Namespace

Modules: ApplicationHelper, Generators Classes: ApiSpecError, ApiSpecParamsError, ApiSpecReturnError, ApidocController, ApplicationController, BaseController, Engine, Error, ParamsCheckError, ReturnCheckError, Schema, SchemaController, Tree, TreeNode, Validator, ViewGenerator

Constant Summary collapse

VERSION =
'0.0.3'
@@generate_views =
true
@@params_check =
true
@@params_json_schema_version =
:v4
@@return_check =
true
@@return_json_schema_version =
:v4

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Lina)

    the object that the method was called on



6
7
8
# File 'lib/lina/engine.rb', line 6

def self.setup
  yield self
end