Class: Peddler::APIs::NotificationsV1::DestinationList
- Inherits:
-
Array
- Object
- Array
- Peddler::APIs::NotificationsV1::DestinationList
- Defined in:
- lib/peddler/apis/notifications_v1/destination_list.rb
Overview
A list of destinations.
Class Method Summary collapse
Class Method Details
.parse(array) ⇒ Object
11 12 13 |
# File 'lib/peddler/apis/notifications_v1/destination_list.rb', line 11 def parse(array) new(array.map { |item| Destination.parse(item) }) end |