Class: Item::AmazonFnskuBarcode::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success: nil, output: nil, fnsku: nil, output_format: nil, identifier_type: nil, identifier_formatted: nil, message: nil) ⇒ Result

Returns a new instance of Result.



12
# File 'app/services/item/amazon_fnsku_barcode.rb', line 12

def initialize(success: nil, output: nil, fnsku: nil, output_format: nil, identifier_type: nil, identifier_formatted: nil, message: nil) = super

Instance Attribute Details

#fnskuObject (readonly)

Returns the value of attribute fnsku

Returns:

  • (Object)

    the current value of fnsku



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

def fnsku
  @fnsku
end

#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/amazon_fnsku_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/amazon_fnsku_barcode.rb', line 11

def identifier_type
  @identifier_type
end

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



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

def message
  @message
end

#outputObject (readonly)

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



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

def output
  @output
end

#output_formatObject (readonly)

Returns the value of attribute output_format

Returns:

  • (Object)

    the current value of output_format



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

def output_format
  @output_format
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



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

def success
  @success
end