Initial commit
This commit is contained in:
16
app/api/v2/market/mount.rb
Normal file
16
app/api/v2/market/mount.rb
Normal file
@@ -0,0 +1,16 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module API::V2
|
||||
module Market
|
||||
class Mount < Grape::API
|
||||
helpers ::API::V2::OrderHelpers
|
||||
|
||||
before { authenticate! }
|
||||
before { trading_must_be_permitted! }
|
||||
before { set_ets_context! }
|
||||
|
||||
mount Market::Orders
|
||||
mount Market::Trades
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user