Initial commit
This commit is contained in:
19
app/api/v2/coin_market_cap/mount.rb
Normal file
19
app/api/v2/coin_market_cap/mount.rb
Normal file
@@ -0,0 +1,19 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module API
|
||||
module V2
|
||||
module CoinMarketCap
|
||||
class Mount < Grape::API
|
||||
before { set_ets_context! }
|
||||
|
||||
helpers CoinMarketCap::Helpers
|
||||
|
||||
mount CoinMarketCap::Summary
|
||||
mount CoinMarketCap::Assets
|
||||
mount CoinMarketCap::Ticker
|
||||
mount CoinMarketCap::Trades
|
||||
mount CoinMarketCap::Orderbook
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user