module API::V2 module Account class Mount < Grape::API before { authenticate! } before { set_ets_context! } mount Account::Balances mount Account::Deposits mount Account::Beneficiaries mount Account::Withdraws mount Account::Transactions mount Account::Stats mount Account::InternalTransfers mount Account::Otp mount Account::Treasury mount Account::Levels mount Account::Bonuses end end end