Class: Edi::Wayfair::CatalogItemUpdateSender::UpdateResult

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

Overview

Service object: update result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success: nil, request_id: nil, errors: nil, ecl: nil, payload: nil) ⇒ UpdateResult

Returns a new instance of UpdateResult.



59
# File 'app/services/edi/wayfair/catalog_item_update_sender.rb', line 59

def initialize(success: nil, request_id: nil, errors: nil, ecl: nil, payload: nil) = super

Instance Attribute Details

#eclObject (readonly)

Returns the value of attribute ecl

Returns:

  • (Object)

    the current value of ecl



58
59
60
# File 'app/services/edi/wayfair/catalog_item_update_sender.rb', line 58

def ecl
  @ecl
end

#errorsObject (readonly)

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



58
59
60
# File 'app/services/edi/wayfair/catalog_item_update_sender.rb', line 58

def errors
  @errors
end

#payloadObject (readonly)

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



58
59
60
# File 'app/services/edi/wayfair/catalog_item_update_sender.rb', line 58

def payload
  @payload
end

#request_idObject (readonly)

Returns the value of attribute request_id

Returns:

  • (Object)

    the current value of request_id



58
59
60
# File 'app/services/edi/wayfair/catalog_item_update_sender.rb', line 58

def request_id
  @request_id
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



58
59
60
# File 'app/services/edi/wayfair/catalog_item_update_sender.rb', line 58

def success
  @success
end