Module: Progressive::Subject

Extended by:
ActiveSupport::Concern
Includes:
ActiveModel::Callbacks
Defined in:
lib/progressive/subject.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#new_state_record_on_change?Boolean



45
46
47
# File 'lib/progressive/subject.rb', line 45

def new_state_record_on_change?
  !!self.class.new_state_record_on_change
end

#specificationObject



41
42
43
# File 'lib/progressive/subject.rb', line 41

def specification
  self.class.specification
end