Class: Item::UpcBarcode::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/item/upc_barcode.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_formattedObject (readonly)

Returns the value of attribute identifier_formatted

Returns:

  • (Object)

    the current value of identifier_formatted



11
12
13
# File 'app/services/item/upc_barcode.rb', line 11

def identifier_formatted
  @identifier_formatted
end

#identifier_typeObject (readonly)

Returns the value of attribute identifier_type

Returns:

  • (Object)

    the current value of identifier_type



11
12
13
# File 'app/services/item/upc_barcode.rb', line 11

def identifier_type
  @identifier_type
end

#outputObject (readonly)

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



11
12
13
# File 'app/services/item/upc_barcode.rb', line 11

def output
  @output
end