Class: Course::Assessment::Answer::VoiceResponse

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
app/models/course/assessment/answer/voice_response.rb

Instance Method Summary collapse

Instance Method Details

#assign_params(params) ⇒ Object


6
7
8
9
# File 'app/models/course/assessment/answer/voice_response.rb', line 6

def assign_params(params)
  acting_as.assign_params(params)
  self.file = params[:file] if params[:file]
end