class TandaCLI::Models::Photo

Defined in:

tanda_cli/models/photo.cr

Constant Summary

ONE_MEGABYTE = (1 * 1024) * 1024

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String) #

[View source]

Instance Method Detail

def invalid? : Bool #

[View source]
def path : String #

[View source]
def path_includes?(name : String) : Bool #

[View source]
def to_base64 : String | Error::Base #

[View source]
def valid? : Bool #

[View source]