Class: Pandarus::Module
- Defined in:
- lib/pandarus/models/module.rb
Instance Attribute Summary collapse
-
#completed_at ⇒ Object
Returns the value of attribute completed_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#items ⇒ Object
Returns the value of attribute items.
-
#items_count ⇒ Object
Returns the value of attribute items_count.
-
#items_url ⇒ Object
Returns the value of attribute items_url.
-
#name ⇒ Object
Returns the value of attribute name.
-
#position ⇒ Object
Returns the value of attribute position.
-
#prerequisite_module_ids ⇒ Object
Returns the value of attribute prerequisite_module_ids.
-
#publish_final_grade ⇒ Object
Returns the value of attribute publish_final_grade.
-
#require_sequential_progress ⇒ Object
Returns the value of attribute require_sequential_progress.
-
#state ⇒ Object
Returns the value of attribute state.
-
#unlock_at ⇒ Object
Returns the value of attribute unlock_at.
-
#workflow_state ⇒ Object
Returns the value of attribute workflow_state.
Class Method Summary collapse
Methods inherited from ModelBase
#assign, #attr, #has_attr?, #initialize, #inspect, #to_body
Constructor Details
This class inherits a constructor from Pandarus::ModelBase
Instance Attribute Details
#completed_at ⇒ Object
Returns the value of attribute completed_at.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def completed_at @completed_at end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def id @id end |
#items ⇒ Object
Returns the value of attribute items.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def items @items end |
#items_count ⇒ Object
Returns the value of attribute items_count.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def items_count @items_count end |
#items_url ⇒ Object
Returns the value of attribute items_url.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def items_url @items_url end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def name @name end |
#position ⇒ Object
Returns the value of attribute position.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def position @position end |
#prerequisite_module_ids ⇒ Object
Returns the value of attribute prerequisite_module_ids.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def prerequisite_module_ids @prerequisite_module_ids end |
#publish_final_grade ⇒ Object
Returns the value of attribute publish_final_grade.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def publish_final_grade @publish_final_grade end |
#require_sequential_progress ⇒ Object
Returns the value of attribute require_sequential_progress.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def require_sequential_progress @require_sequential_progress end |
#state ⇒ Object
Returns the value of attribute state.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def state @state end |
#unlock_at ⇒ Object
Returns the value of attribute unlock_at.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def unlock_at @unlock_at end |
#workflow_state ⇒ Object
Returns the value of attribute workflow_state.
6 7 8 |
# File 'lib/pandarus/models/module.rb', line 6 def workflow_state @workflow_state 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 |
# File 'lib/pandarus/models/module.rb', line 9 def self.attribute_map { :id => {:external => "id", :container => false, :type => nil}, :workflow_state => {:external => "workflow_state", :container => false, :type => nil}, :position => {:external => "position", :container => false, :type => nil}, :name => {:external => "name", :container => false, :type => nil}, :unlock_at => {:external => "unlock_at", :container => false, :type => nil}, :require_sequential_progress => {:external => "require_sequential_progress", :container => false, :type => nil}, :prerequisite_module_ids => {:external => "prerequisite_module_ids", :container => false, :type => nil}, :items_count => {:external => "items_count", :container => false, :type => nil}, :items_url => {:external => "items_url", :container => false, :type => nil}, :items => {:external => "items", :container => false, :type => nil}, :state => {:external => "state", :container => false, :type => nil}, :completed_at => {:external => "completed_at", :container => false, :type => nil}, :publish_final_grade => {:external => "publish_final_grade", :container => false, :type => nil} } end |