Необходимо создать API для онлайн магазина. Для покупки необходимо создать корзину, добавить туда товары и затем купить все товары из корзины. API подразумевает возможности просматривать список всех продуктов, список корзин.
Ожидается использование GenServer для хранения данных корзин.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# typed: false | |
# frozen_string_literal: true | |
# Note: This is loaded *ludicrously* early in the boot process: please don't | |
# introduce other dependencies here. | |
# === | |
# Okay so here's the deal. When we compile a bundle of ruby code via | |
# `bundlerEnv`, we install all the gems individually into a bunch of separate |