Class: Peddler::APIs::SupplySources20200701::OperatingHours

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/apis/supply_sources_2020_07_01/operating_hours.rb

Overview

A list of Operating Hours.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



11
12
13
# File 'lib/peddler/apis/supply_sources_2020_07_01/operating_hours.rb', line 11

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