class SynapseClient::QuestionSet::Question
Attributes
answers[R]
id[R]
question[R]
Public Class Methods
new(opts = {})
click to toggle source
# File lib/synapse_client/question_set.rb, line 21 def initialize(opts = {}) @id = opts.id @question = opts.question @answers = opts.answers.map{|a| Answer.new(a)} end