Module: Extensions::ActsAsHelpers::ActiveRecord::Base::LessonPlanItemInstanceMethods

Defined in:
lib/extensions/acts_as_helpers/active_record/base.rb

Instance Method Summary collapse

Instance Method Details

#can_user_start?(_user = nil) ⇒ Boolean

Returns:

  • (Boolean)

54
55
56
# File 'lib/extensions/acts_as_helpers/active_record/base.rb', line 54

def can_user_start?(_user = nil)
  true
end

#include_in_consolidated_email?(_event) ⇒ Boolean

Override in the actable item if there's a need to check its settings component.

Parameters:

  • event (String)

    The event to check for. e.g. 'opening', 'closing'.

Returns:

  • (Boolean)

62
63
64
# File 'lib/extensions/acts_as_helpers/active_record/base.rb', line 62

def include_in_consolidated_email?(_event)
  false
end