class BlockScore::QuestionSet
Public Instance Methods
score(answers = nil)
click to toggle source
# File lib/blockscore/question_set.rb, line 11 def score(answers = nil) if answers.nil? && attributes attributes[:score] else @attributes = post("#{endpoint}/#{id}/score", answers: answers).attributes self end end