class Inputs::Sources::Create

Included Modules

Defined in:

inputs/sources.cr

Constant Summary

PROPERTY_CONFIGS = {name: {type: String}, url: {type: String}}

Constructors

Instance Method Summary

Instance methods inherited from module Inputs::Shared::Parser

_parse_int(value) : Int32 _parse_int, _parse_string(value) : String _parse_string, _parse_time(value) : Time _parse_time, errors : Hash(String, String) errors, errors=(errors : Hash(String, String)) errors=

Macros inherited from module Inputs::Shared::Parser

property_parser property_parser

Constructor Detail

def self.new(json : JSON::Any) #

[View source]

Instance Method Detail

def _parse_name : String #

[View source]
def _parse_url : String #

[View source]
def name : String #

def name=(name : String) #

def to_model(user_id : Int32) : Source #

[View source]
def url : String #

def url=(url : String) #