Class: Edi::Wayfair::CatalogItemInformationProcessor::ProcessResult

Inherits:
Data
  • Object
show all
Defined in:
app/services/edi/wayfair/catalog_item_information_processor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(processed: nil, skipped: nil, errors: nil, catalog_items_updated: nil) ⇒ ProcessResult

Returns a new instance of ProcessResult.



16
# File 'app/services/edi/wayfair/catalog_item_information_processor.rb', line 16

def initialize(processed: nil, skipped: nil, errors: nil, catalog_items_updated: nil) = super

Instance Attribute Details

#catalog_items_updatedObject (readonly)

Returns the value of attribute catalog_items_updated

Returns:

  • (Object)

    the current value of catalog_items_updated



15
16
17
# File 'app/services/edi/wayfair/catalog_item_information_processor.rb', line 15

def catalog_items_updated
  @catalog_items_updated
end

#errorsObject (readonly)

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



15
16
17
# File 'app/services/edi/wayfair/catalog_item_information_processor.rb', line 15

def errors
  @errors
end

#processedObject (readonly)

Returns the value of attribute processed

Returns:

  • (Object)

    the current value of processed



15
16
17
# File 'app/services/edi/wayfair/catalog_item_information_processor.rb', line 15

def processed
  @processed
end

#skippedObject (readonly)

Returns the value of attribute skipped

Returns:

  • (Object)

    the current value of skipped



15
16
17
# File 'app/services/edi/wayfair/catalog_item_information_processor.rb', line 15

def skipped
  @skipped
end