Class: Peddler::APIs::ServicesV1::WarningList

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/apis/services_v1/warning_list.rb,
sig/peddler/apis/services_v1.rbs

Overview

A list of warnings returned in the sucessful execution response of an API request.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ WarningList

Parameters:

  • (Array[untyped])

Returns:



11
12
13
# File 'lib/peddler/apis/services_v1/warning_list.rb', line 11

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