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

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

Overview

Service object: process result.

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.



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

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



17
18
19
# File 'app/services/edi/wayfair/catalog_item_information_processor.rb', line 17

def catalog_items_updated
  @catalog_items_updated
end

#errorsObject (readonly)

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



17
18
19
# File 'app/services/edi/wayfair/catalog_item_information_processor.rb', line 17

def errors
  @errors
end

#processedObject (readonly)

Returns the value of attribute processed

Returns:

  • (Object)

    the current value of processed



17
18
19
# File 'app/services/edi/wayfair/catalog_item_information_processor.rb', line 17

def processed
  @processed
end

#skippedObject (readonly)

Returns the value of attribute skipped

Returns:

  • (Object)

    the current value of skipped



17
18
19
# File 'app/services/edi/wayfair/catalog_item_information_processor.rb', line 17

def skipped
  @skipped
end