class Media

Included Modules

Defined in:

models/media.cr:1
models/media.cr:3

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 business : Business | Nil #

[View source]
def business! : Business #

[View source]
def business=(parent : Business) #

[View source]
def business_id : Int64 | Nil #

def business_id! : Int64 #

def business_id=(business_id : Int64 | Nil) #

def host : String | Nil #

[View source]
def host! : String #

[View source]
def host=(host : String | Nil) #

[View source]
def id : Int64 | Nil #

[View source]
def id! : Int64 #

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

[View source]
def url : String | Nil #

[View source]
def url! : String #

[View source]
def url=(url : String | Nil) #

[View source]