Class: Xberg::QrCode

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeQrCode

Returns a new instance of QrCode.

Parameters:



2225
# File 'sig/types.rbs', line 2225

def initialize: (payload: String, ?confidence: Float, ?bbox: QrBoundingBox) -> void

Instance Attribute Details

#bboxQrBoundingBox? (readonly)

Returns the value of attribute bbox.

Returns:



2223
2224
2225
# File 'sig/types.rbs', line 2223

def bbox
  @bbox
end

#confidenceFloat? (readonly)

Returns the value of attribute confidence.

Returns:

  • (Float, nil)


2222
2223
2224
# File 'sig/types.rbs', line 2222

def confidence
  @confidence
end

#payloadString (readonly)

Returns the value of attribute payload.

Returns:

  • (String)


2221
2222
2223
# File 'sig/types.rbs', line 2221

def payload
  @payload
end