class Amber::CLI::ApiController

Defined in:

amber/cli/generators/api_controller.cr

Constructors

Instance Method Summary

Instance methods inherited from class Amber::CLI::Generator

add_timestamp_fields add_timestamp_fields, config : Amber::CLI::Config config, config=(config : Amber::CLI::Config) config=, fields : Array(Field) fields, fields=(fields : Array(Field)) fields=, fields_hash : Hash(String, String) fields_hash, fields_hash=(fields_hash : Hash(String, String)) fields_hash=, filter(entries) filter, name : String name, name=(name : String) name=, post_render(directory, **args) post_render, pre_render(directory, **args) pre_render, render(directory, **args) render, table_name : String | Nil table_name, table_name=(table_name : String | Nil) table_name=, timestamp : String timestamp, timestamp=(timestamp : String) timestamp=

Constructor methods inherited from class Amber::CLI::Generator

new(name : String, params) new

Class methods inherited from class Amber::CLI::Generator

registered_commands registered_commands

Instance methods inherited from module Amber::CLI::Helpers

add_dependencies(dependencies) add_dependencies, add_plugs(pipeline, plug) add_plugs, add_routes(pipeline, route) add_routes

Class methods inherited from module Amber::CLI::Helpers

run(command, wait = true, shell = true) run

Instance methods inherited from module Amber::CLI::Helpers::Migration

create_index_for_reference_fields_sql create_index_for_reference_fields_sql, create_table_sql create_table_sql, drop_table_sql drop_table_sql, primary_key primary_key

Instance methods inherited from class Teeplate::FileTree

class_name class_name, display_name display_name, display_name_plural display_name_plural, filter(entries) filter, name_plural name_plural, render(out_dir, force : Bool = false, interactive : Bool = false, interact : Bool = false, list : Bool = false, color : Bool = false, per_entry : Bool = false, quit : Bool = true) render

Constructor Detail

def self.new(name, fields) #

[View source]

Instance Method Detail

def ____collect_files(____files) #
Description copied from class Teeplate::FileTree

:nodoc:


[View source]
def __ecr0(____io) #

[View source]
def __ecr2(____io) #

[View source]
def __ecr4(____io) #

[View source]
def pre_render(directory, **args) #

[View source]