Method: Harvesting::Models::Invoice#line_items

Defined in:
lib/harvesting/models/invoice.rb

#line_itemsObject



35
36
37
# File 'lib/harvesting/models/invoice.rb', line 35

def line_items
  @line_items ||= @attributes['line_items'].map { |line_item_attributes| LineItem.new line_item_attributes, { harvest_client: harvest_client } }
end