class Ktistec::Settings

Overview

Model-like class for managing site settings.

Defined in:

framework/framework.cr

Constant Summary

PROPERTIES = {host: String, site: String, description: String, footer: String, translator_service: String, translator_url: String}

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.nonce #

[View source]

Instance Method Detail

def assign(options) #

[View source]
def description : String | Nil #

def errors : Hash(String, Array(String)) #

[View source]
def footer : String | Nil #

def host : String | Nil #

def save #

[View source]
def site : String | Nil #

def translator_service : String | Nil #

def translator_url : String | Nil #

def valid? #

[View source]