Class: Snap::Models::OutboundList
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Snap::Models::OutboundList
- Defined in:
- lib/snap/models/outbound_list.rb
Overview
Hydrate an array of stock totals.
Instance Method Summary collapse
-
#initialize(list) ⇒ OutboundList
constructor
A new instance of OutboundList.
Constructor Details
#initialize(list) ⇒ OutboundList
Returns a new instance of OutboundList.
7 8 9 |
# File 'lib/snap/models/outbound_list.rb', line 7 def initialize(list) super(list.map { |item| Outbound.new(item) }) end |