class Model

Included Modules

Defined in:

models/model.cr:1
models/model.cr:4

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.adapter : Granite::Adapter::Base #

Instance Method Detail

def fields #

[View source]
def id : Int64 | Nil #

[View source]
def id! : Int64 #

[View source]
def id=(id : Int64 | Nil) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def plural : String #

[View source]
def plural=(plural : String) #

[View source]
def records #

[View source]
def singular : String #

[View source]
def singular=(singular : String) #

[View source]