Class: Pandarus::Quiz
- Defined in:
- lib/pandarus/models/quiz.rb
Instance Attribute Summary collapse
-
#access_code ⇒ Object
Returns the value of attribute access_code.
-
#all_dates ⇒ Object
Returns the value of attribute all_dates.
-
#allowed_attempts ⇒ Object
Returns the value of attribute allowed_attempts.
-
#assignment_group_id ⇒ Object
Returns the value of attribute assignment_group_id.
-
#cant_go_back ⇒ Object
Returns the value of attribute cant_go_back.
-
#description ⇒ Object
Returns the value of attribute description.
-
#due_at ⇒ Object
Returns the value of attribute due_at.
-
#hide_correct_answers_at ⇒ Object
Returns the value of attribute hide_correct_answers_at.
-
#hide_results ⇒ Object
Returns the value of attribute hide_results.
-
#html_url ⇒ Object
Returns the value of attribute html_url.
-
#id ⇒ Object
Returns the value of attribute id.
-
#ip_filter ⇒ Object
Returns the value of attribute ip_filter.
-
#lock_at ⇒ Object
Returns the value of attribute lock_at.
-
#lock_explanation ⇒ Object
Returns the value of attribute lock_explanation.
-
#lock_info ⇒ Object
Returns the value of attribute lock_info.
-
#locked_for_user ⇒ Object
Returns the value of attribute locked_for_user.
-
#mobile_url ⇒ Object
Returns the value of attribute mobile_url.
-
#one_question_at_a_time ⇒ Object
Returns the value of attribute one_question_at_a_time.
-
#permissions ⇒ Object
Returns the value of attribute permissions.
-
#points_possible ⇒ Object
Returns the value of attribute points_possible.
-
#published ⇒ Object
Returns the value of attribute published.
-
#question_count ⇒ Object
Returns the value of attribute question_count.
-
#quiz_type ⇒ Object
Returns the value of attribute quiz_type.
-
#scoring_policy ⇒ Object
Returns the value of attribute scoring_policy.
-
#show_correct_answers ⇒ Object
Returns the value of attribute show_correct_answers.
-
#show_correct_answers_at ⇒ Object
Returns the value of attribute show_correct_answers_at.
-
#shuffle_answers ⇒ Object
Returns the value of attribute shuffle_answers.
-
#speedgrader_url ⇒ Object
Returns the value of attribute speedgrader_url.
-
#time_limit ⇒ Object
Returns the value of attribute time_limit.
-
#title ⇒ Object
Returns the value of attribute title.
-
#unlock_at ⇒ Object
Returns the value of attribute unlock_at.
-
#unpublishable ⇒ Object
Returns the value of attribute unpublishable.
Class Method Summary collapse
Methods inherited from ModelBase
#assign, #attr, #has_attr?, #initialize, #inspect, #to_body, #vivify
Constructor Details
This class inherits a constructor from Pandarus::ModelBase
Instance Attribute Details
#access_code ⇒ Object
Returns the value of attribute access_code.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def access_code @access_code end |
#all_dates ⇒ Object
Returns the value of attribute all_dates.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def all_dates @all_dates end |
#allowed_attempts ⇒ Object
Returns the value of attribute allowed_attempts.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def allowed_attempts @allowed_attempts end |
#assignment_group_id ⇒ Object
Returns the value of attribute assignment_group_id.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def assignment_group_id @assignment_group_id end |
#cant_go_back ⇒ Object
Returns the value of attribute cant_go_back.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def cant_go_back @cant_go_back end |
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def description @description end |
#due_at ⇒ Object
Returns the value of attribute due_at.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def due_at @due_at end |
#hide_correct_answers_at ⇒ Object
Returns the value of attribute hide_correct_answers_at.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def hide_correct_answers_at @hide_correct_answers_at end |
#hide_results ⇒ Object
Returns the value of attribute hide_results.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def hide_results @hide_results end |
#html_url ⇒ Object
Returns the value of attribute html_url.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def html_url @html_url end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def id @id end |
#ip_filter ⇒ Object
Returns the value of attribute ip_filter.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def ip_filter @ip_filter end |
#lock_at ⇒ Object
Returns the value of attribute lock_at.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def lock_at @lock_at end |
#lock_explanation ⇒ Object
Returns the value of attribute lock_explanation.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def lock_explanation @lock_explanation end |
#lock_info ⇒ Object
Returns the value of attribute lock_info.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def lock_info @lock_info end |
#locked_for_user ⇒ Object
Returns the value of attribute locked_for_user.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def locked_for_user @locked_for_user end |
#mobile_url ⇒ Object
Returns the value of attribute mobile_url.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def mobile_url @mobile_url end |
#one_question_at_a_time ⇒ Object
Returns the value of attribute one_question_at_a_time.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def one_question_at_a_time @one_question_at_a_time end |
#permissions ⇒ Object
Returns the value of attribute permissions.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def @permissions end |
#points_possible ⇒ Object
Returns the value of attribute points_possible.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def points_possible @points_possible end |
#published ⇒ Object
Returns the value of attribute published.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def published @published end |
#question_count ⇒ Object
Returns the value of attribute question_count.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def question_count @question_count end |
#quiz_type ⇒ Object
Returns the value of attribute quiz_type.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def quiz_type @quiz_type end |
#scoring_policy ⇒ Object
Returns the value of attribute scoring_policy.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def scoring_policy @scoring_policy end |
#show_correct_answers ⇒ Object
Returns the value of attribute show_correct_answers.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def show_correct_answers @show_correct_answers end |
#show_correct_answers_at ⇒ Object
Returns the value of attribute show_correct_answers_at.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def show_correct_answers_at @show_correct_answers_at end |
#shuffle_answers ⇒ Object
Returns the value of attribute shuffle_answers.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def shuffle_answers @shuffle_answers end |
#speedgrader_url ⇒ Object
Returns the value of attribute speedgrader_url.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def speedgrader_url @speedgrader_url end |
#time_limit ⇒ Object
Returns the value of attribute time_limit.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def time_limit @time_limit end |
#title ⇒ Object
Returns the value of attribute title.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def title @title end |
#unlock_at ⇒ Object
Returns the value of attribute unlock_at.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def unlock_at @unlock_at end |
#unpublishable ⇒ Object
Returns the value of attribute unpublishable.
6 7 8 |
# File 'lib/pandarus/models/quiz.rb', line 6 def unpublishable @unpublishable end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/pandarus/models/quiz.rb', line 9 def self.attribute_map { :id => {:external => "id", :container => false, :type => "Integer"}, :title => {:external => "title", :container => false, :type => "String"}, :html_url => {:external => "html_url", :container => false, :type => "String"}, :mobile_url => {:external => "mobile_url", :container => false, :type => "String"}, :description => {:external => "description", :container => false, :type => "String"}, :quiz_type => {:external => "quiz_type", :container => false, :type => "String"}, :assignment_group_id => {:external => "assignment_group_id", :container => false, :type => "Integer"}, :time_limit => {:external => "time_limit", :container => false, :type => "Integer"}, :shuffle_answers => {:external => "shuffle_answers", :container => false, :type => nil}, :hide_results => {:external => "hide_results", :container => false, :type => "String"}, :show_correct_answers => {:external => "show_correct_answers", :container => false, :type => nil}, :show_correct_answers_at => {:external => "show_correct_answers_at", :container => false, :type => "DateTime"}, :hide_correct_answers_at => {:external => "hide_correct_answers_at", :container => false, :type => "DateTime"}, :scoring_policy => {:external => "scoring_policy", :container => false, :type => "String"}, :allowed_attempts => {:external => "allowed_attempts", :container => false, :type => "Integer"}, :one_question_at_a_time => {:external => "one_question_at_a_time", :container => false, :type => nil}, :question_count => {:external => "question_count", :container => false, :type => "Integer"}, :points_possible => {:external => "points_possible", :container => false, :type => "Integer"}, :cant_go_back => {:external => "cant_go_back", :container => false, :type => nil}, :access_code => {:external => "access_code", :container => false, :type => "String"}, :ip_filter => {:external => "ip_filter", :container => false, :type => "String"}, :due_at => {:external => "due_at", :container => false, :type => "DateTime"}, :lock_at => {:external => "lock_at", :container => false, :type => "DateTime"}, :unlock_at => {:external => "unlock_at", :container => false, :type => "DateTime"}, :published => {:external => "published", :container => false, :type => nil}, :unpublishable => {:external => "unpublishable", :container => false, :type => nil}, :locked_for_user => {:external => "locked_for_user", :container => false, :type => nil}, :lock_info => {:external => "lock_info", :container => false, :type => "LockInfo"}, :lock_explanation => {:external => "lock_explanation", :container => false, :type => "String"}, :speedgrader_url => {:external => "speedgrader_url", :container => false, :type => "String"}, :permissions => {:external => "permissions", :container => false, :type => "QuizPermissions"}, :all_dates => {:external => "all_dates", :container => false, :type => "AssignmentDate"} } end |