Initial commit
This commit is contained in:
21
app/api/v2/account/mount.rb
Normal file
21
app/api/v2/account/mount.rb
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
Reference in New Issue
Block a user