class Picture

Included Modules

Defined in:

models/picture.cr:1
models/picture.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 id : Int64 | Nil #

[View source]
def id! : Int64 #

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

[View source]
def image : String | Nil #

[View source]
def image! : String #

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

[View source]
def mimetype : String | Nil #

[View source]
def mimetype! : String #

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

[View source]