Class: GroupImportState

Inherits:
ApplicationRecord show all
Defined in:
app/models/group_import_state.rb

Instance Method Summary collapse

Methods inherited from ApplicationRecord

at_most, id_in, id_not_in, iid_in, pluck_primary_key, primary_key_in, safe_ensure_unique, safe_find_or_create_by, safe_find_or_create_by!, underscore, without_order

Instance Method Details

#in_progress?Boolean

Returns:

  • (Boolean)

36
37
38
# File 'app/models/group_import_state.rb', line 36

def in_progress?
  created? || started?
end