Class: Pandarus::QuizPermissions

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/quiz_permissions.rb

Instance Attribute Summary collapse

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

#createObject

Returns the value of attribute create.



6
7
8
# File 'lib/pandarus/models/quiz_permissions.rb', line 6

def create
  @create
end

#manageObject

Returns the value of attribute manage.



6
7
8
# File 'lib/pandarus/models/quiz_permissions.rb', line 6

def manage
  @manage
end

#readObject

Returns the value of attribute read.



6
7
8
# File 'lib/pandarus/models/quiz_permissions.rb', line 6

def read
  @read
end

#read_statisticsObject

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_gradesObject

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

#submitObject

Returns the value of attribute submit.



6
7
8
# File 'lib/pandarus/models/quiz_permissions.rb', line 6

def submit
  @submit
end

#updateObject

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_mapObject



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