module Discerner::Methods::Models::Warning

Public Class Methods

included(base) click to toggle source
# File lib/discerner/methods/models/warning.rb, line 5
def self.included(base)
  attr_accessor :force_save
end

Public Instance Methods

warnings() click to toggle source
# File lib/discerner/methods/models/warning.rb, line 9
def warnings
  @warnings ||= ActiveModel::Errors.new(self)
end