Class: Peddler::APIs::ServicesV1::AvailabilityRecords
- Inherits:
-
Array
- Object
- Array
- Peddler::APIs::ServicesV1::AvailabilityRecords
- Defined in:
- lib/peddler/apis/services_v1/availability_records.rb
Overview
List of AvailabilityRecord
s to represent the capacity of a resource over a time range.
Class Method Summary collapse
Class Method Details
.parse(array) ⇒ Object
11 12 13 |
# File 'lib/peddler/apis/services_v1/availability_records.rb', line 11 def parse(array) new(array.map { |item| AvailabilityRecord.parse(item) }) end |