struct PassKit::Barcode

Included Modules

Defined in:

models/barcode.cr

Constant Summary

AZTEC = BarcodeFormat::PKBarcodeFormatAztec
CODE128 = BarcodeFormat::PKBarcodeFormatCode128
PDF417 = BarcodeFormat::PKBarcodeFormatPDF417
QR = BarcodeFormat::PKBarcodeFormatQR

shortcut constants

Constructors

Instance Method Summary

Constructor Detail

def self.new(format : PassKit::BarcodeFormat, message : String, message_encoding : String, alt_text : Nil | String = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(attributes : BarcodeTuple) #

[View source]

Instance Method Detail

def alt_text : String | Nil #

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

[View source]
def format : BarcodeFormat #

[View source]
def format=(format : BarcodeFormat) #

[View source]
def message : String #

[View source]
def message=(message : String) #

[View source]
def message_encoding : String #

[View source]
def message_encoding=(message_encoding : String) #

[View source]