diff --git a/gems/activemodel/7.0/activemodel-7.0.rbs b/gems/activemodel/7.0/activemodel-7.0.rbs index 753e4c018..136806718 100644 --- a/gems/activemodel/7.0/activemodel-7.0.rbs +++ b/gems/activemodel/7.0/activemodel-7.0.rbs @@ -1,3 +1,16 @@ +module ActiveModel + module API + extend ActiveSupport::Concern + include ActiveModel::AttributeAssignment + include ActiveModel::Validations + extend ActiveModel::Validations::ClassMethods + include ActiveModel::Conversion + extend ActiveModel::Conversion::ClassMethods + + def persisted?: () -> bool + end +end + module ActiveModel class Error CALLBACKS_OPTIONS: ::Array[:if | :unless | :on | :allow_nil | :allow_blank | :strict]