Class: GithubToCanvasQuiz::Parser::Canvas::Answer::ShortAnswer
- Defined in:
- lib/github_to_canvas_quiz/parser/canvas/answer/short_answer.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Helpers
#choose_text, #clean_html, #remove_canvas_cruft
Constructor Details
This class inherits a constructor from GithubToCanvasQuiz::Parser::Canvas::Answer::Base
Instance Method Details
#parse ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/github_to_canvas_quiz/parser/canvas/answer/short_answer.rb', line 8 def parse Model::Answer::ShortAnswer.new( title: title, text: data['text'], comments: comments ) end |