struct PassKit::Barcode
- PassKit::Barcode
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
models/barcode.crConstant Summary
-
AZTEC =
BarcodeFormat::PKBarcodeFormatAztec
-
CODE128 =
BarcodeFormat::PKBarcodeFormatCode128
-
PDF417 =
BarcodeFormat::PKBarcodeFormatPDF417
-
QR =
BarcodeFormat::PKBarcodeFormatQR
-
shortcut constants
Constructors
- .new(format : PassKit::BarcodeFormat, message : String, message_encoding : String, alt_text : Nil | String = nil)
- .new(pull : JSON::PullParser)
- .new(attributes : BarcodeTuple)
Instance Method Summary
- #alt_text : String | Nil
- #alt_text=(alt_text : String | Nil)
- #format : BarcodeFormat
- #format=(format : BarcodeFormat)
- #message : String
- #message=(message : String)
- #message_encoding : String
- #message_encoding=(message_encoding : String)
Constructor Detail
def self.new(format : PassKit::BarcodeFormat, message : String, message_encoding : String, alt_text : Nil | String = nil)
#