Class: Peddler::Types::FBAInboundEligibilityV1::ErrorList

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/types/fba_inbound_eligibility_v1/error_list.rb

Overview

A list of error responses returned when a request is unsuccessful.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



13
14
15
# File 'lib/peddler/types/fba_inbound_eligibility_v1/error_list.rb', line 13

def parse(array)
  new(array.map { |item| Error.parse(item) })
end