Class: Pandarus::QuizPermissions
- Defined in:
- lib/pandarus/models/quiz_permissions.rb
Instance Attribute Summary collapse
-
#create ⇒ Object
Returns the value of attribute create.
-
#manage ⇒ Object
Returns the value of attribute manage.
-
#read ⇒ Object
Returns the value of attribute read.
-
#read_statistics ⇒ Object
Returns the value of attribute read_statistics.
-
#review_grades ⇒ Object
Returns the value of attribute review_grades.
-
#submit ⇒ Object
Returns the value of attribute submit.
-
#update ⇒ Object
Returns the value of attribute update.
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
#create ⇒ Object
Returns the value of attribute create.
6 7 8 |
# File 'lib/pandarus/models/quiz_permissions.rb', line 6 def create @create end |
#manage ⇒ Object
Returns the value of attribute manage.
6 7 8 |
# File 'lib/pandarus/models/quiz_permissions.rb', line 6 def manage @manage end |
#read ⇒ Object
Returns the value of attribute read.
6 7 8 |
# File 'lib/pandarus/models/quiz_permissions.rb', line 6 def read @read end |
#read_statistics ⇒ Object
Returns the value of attribute read_statistics.
6 7 8 |
# File 'lib/pandarus/models/quiz_permissions.rb', line 6 def read_statistics @read_statistics end |
#review_grades ⇒ Object
Returns the value of attribute review_grades.
6 7 8 |
# File 'lib/pandarus/models/quiz_permissions.rb', line 6 def review_grades @review_grades end |
#submit ⇒ Object
Returns the value of attribute submit.
6 7 8 |
# File 'lib/pandarus/models/quiz_permissions.rb', line 6 def submit @submit end |
#update ⇒ Object
Returns the value of attribute update.
6 7 8 |
# File 'lib/pandarus/models/quiz_permissions.rb', line 6 def update @update end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/pandarus/models/quiz_permissions.rb', line 9 def self.attribute_map { :read => {:external => "read", :container => false, :type => nil}, :submit => {:external => "submit", :container => false, :type => nil}, :create => {:external => "create", :container => false, :type => nil}, :manage => {:external => "manage", :container => false, :type => nil}, :read_statistics => {:external => "read_statistics", :container => false, :type => nil}, :review_grades => {:external => "review_grades", :container => false, :type => nil}, :update => {:external => "update", :container => false, :type => nil} } end |