Initial commit
This commit is contained in:
20
app/api/v2/coin_gecko/mount.rb
Normal file
20
app/api/v2/coin_gecko/mount.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module API
|
||||
module V2
|
||||
module CoinGecko
|
||||
class Mount < Grape::API
|
||||
PREFIX = '/coingecko'
|
||||
|
||||
before { set_ets_context! }
|
||||
|
||||
helpers CoinGecko::Helpers
|
||||
|
||||
mount CoinGecko::Pairs
|
||||
mount CoinGecko::Tickers
|
||||
mount CoinGecko::Orderbook
|
||||
mount CoinGecko::HistoricalTrades
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user