lib/cenit/notebooks.rb
###
# Create all rest-api doc as notebooks.
Create all rest-api doc as notebooks.
Create all rest - api doc as notebooks .
def create_rest_api
      Setup::CenitDataType.all.each do |dt|
        @params = {}
        @data_type = dt
        @abstract_model = abstract_model_class
        @properties = @abstract_model.properties
        api_langs.each { |lang| api_notebook(lang) if lang[:runnable] }
      end
    end
def create_rest_api Setup :: CenitDataType . all . each do | dt | @params = { } @data_type = dt @abstract_model = abstract_model_class @properties = @abstract_model . properties api_langs . each { | lang | api_notebook ( lang ) if lang [ :runnable ] } end end
Create all rest-api doc as notebooks.
Create all rest - api doc as notebooks .
# Generate rest-api doc as notebook.