lib/bullet_train/api.rb in bullet_train-api-1.2.27 vs lib/bullet_train/api.rb in bullet_train-api-1.3.0
- old
+ new
@@ -14,9 +14,10 @@
require "scaffolding/transformer"
require "jbuilder/schema"
module BulletTrain
module Api
+ mattr_accessor :base_class, default: "ApplicationRecord"
mattr_accessor :endpoints, default: []
mattr_accessor :current_version, default: "v1"
mattr_accessor :initial_version, default: "v1"
def self.current_version_numeric