Class: Snap::Models::OutboundList

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/snap/models/outbound_list.rb

Overview

Hydrate an array of stock totals.

Instance Method Summary collapse

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