| Class | CartItem |
| In: |
app/models/cart_item.rb
|
| Parent: | Object |
************************************************************************/
************************************************************************/
| addons | [R] | |
| adults | [R] | |
| arrival | [R] | |
| children | [R] | |
| departure | [R] | |
| item_id | [R] | |
| room | [R] | |
| total | [R] |
Set the Cart Line Item Addons are serialized and stored as objects
# File app/models/cart_item.rb, line 19
19: def initialize(item_id, addon, room, total, arrival, departure, adults, children)
20: @item_id = item_id
21: @room = room
22: @total = total
23: @arrival = arrival
24: @departure = departure
25: @adults = adults
26: @children = children
27: @addons = addon
28:
29: end