lib/bullet_train/api.rb in bullet_train-api-1.0.17 vs lib/bullet_train/api.rb in bullet_train-api-1.1.0
- old
+ new
@@ -1,20 +1,15 @@
require "bullet_train/api/version"
require "bullet_train/api/engine"
-require "grape"
-require "grape-cancan"
-require "grape_jsonapi"
-require "grape-swagger"
-require "grape_on_rails_routes"
# require "wine_bouncer"
require "pagy"
-require "api-pagination"
+require "pagy_cursor"
require "rack/cors"
-require "jsonapi/serializer"
require "doorkeeper"
module BulletTrain
module Api
mattr_accessor :endpoints, default: []
+ mattr_accessor :current_version, default: "v1"
end
end