module State::Notifier::ClassMethods

Public Instance Methods

notification_targets(*values) click to toggle source
# File lib/state/notifier.rb, line 59
def notification_targets(*values)
  if values.present?
    @notification_targets = values
  else
    @notification_targets
  end
end
reserved_attributes() click to toggle source
# File lib/state/notifier.rb, line 67
def reserved_attributes
  %w[created_at updated_at state]
end