Module: QcReport::StateMachine::ClassMethods

Defined in:
app/models/qc_report.rb

Instance Method Summary collapse

Instance Method Details

#available_statesObject


10
11
12
# File 'app/models/qc_report.rb', line 10

def available_states
  QcReport.aasm.states.map { |state| state.name.to_s }
end