Class: Item::UpcBarcode::Result
- Inherits:
-
Data
- Object
- Data
- Item::UpcBarcode::Result
- Defined in:
- app/services/item/upc_barcode.rb
Instance Attribute Summary collapse
-
#identifier_formatted ⇒ Object
readonly
Returns the value of attribute identifier_formatted.
-
#identifier_type ⇒ Object
readonly
Returns the value of attribute identifier_type.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(output: nil, identifier_type: nil, identifier_formatted: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(output: nil, identifier_type: nil, identifier_formatted: nil) ⇒ Result
Returns a new instance of Result.
12 |
# File 'app/services/item/upc_barcode.rb', line 12 def initialize(output: nil, identifier_type: nil, identifier_formatted: nil) = super |
Instance Attribute Details
#identifier_formatted ⇒ Object (readonly)
Returns the value of attribute identifier_formatted
11 12 13 |
# File 'app/services/item/upc_barcode.rb', line 11 def identifier_formatted @identifier_formatted end |
#identifier_type ⇒ Object (readonly)
Returns the value of attribute identifier_type
11 12 13 |
# File 'app/services/item/upc_barcode.rb', line 11 def identifier_type @identifier_type end |
#output ⇒ Object (readonly)
Returns the value of attribute output
11 12 13 |
# File 'app/services/item/upc_barcode.rb', line 11 def output @output end |