Class: Pandarus::Page
- Defined in:
- lib/pandarus/models/page.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#editing_roles ⇒ Object
Returns the value of attribute editing_roles.
-
#front_page ⇒ Object
Returns the value of attribute front_page.
-
#hide_from_students ⇒ Object
Returns the value of attribute hide_from_students.
-
#last_edited_by ⇒ Object
Returns the value of attribute last_edited_by.
-
#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.
-
#published ⇒ Object
Returns the value of attribute published.
-
#title ⇒ Object
Returns the value of attribute title.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#url ⇒ Object
Returns the value of attribute url.
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
#body ⇒ Object
Returns the value of attribute body.
6 7 8 |
# File 'lib/pandarus/models/page.rb', line 6 def body @body end |
#created_at ⇒ Object
Returns the value of attribute created_at.
6 7 8 |
# File 'lib/pandarus/models/page.rb', line 6 def created_at @created_at end |
#editing_roles ⇒ Object
Returns the value of attribute editing_roles.
6 7 8 |
# File 'lib/pandarus/models/page.rb', line 6 def editing_roles @editing_roles end |
#front_page ⇒ Object
Returns the value of attribute front_page.
6 7 8 |
# File 'lib/pandarus/models/page.rb', line 6 def front_page @front_page end |
#hide_from_students ⇒ Object
Returns the value of attribute hide_from_students.
6 7 8 |
# File 'lib/pandarus/models/page.rb', line 6 def hide_from_students @hide_from_students end |
#last_edited_by ⇒ Object
Returns the value of attribute last_edited_by.
6 7 8 |
# File 'lib/pandarus/models/page.rb', line 6 def last_edited_by @last_edited_by end |
#lock_explanation ⇒ Object
Returns the value of attribute lock_explanation.
6 7 8 |
# File 'lib/pandarus/models/page.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/page.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/page.rb', line 6 def locked_for_user @locked_for_user end |
#published ⇒ Object
Returns the value of attribute published.
6 7 8 |
# File 'lib/pandarus/models/page.rb', line 6 def published @published end |
#title ⇒ Object
Returns the value of attribute title.
6 7 8 |
# File 'lib/pandarus/models/page.rb', line 6 def title @title end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
6 7 8 |
# File 'lib/pandarus/models/page.rb', line 6 def updated_at @updated_at end |
#url ⇒ Object
Returns the value of attribute url.
6 7 8 |
# File 'lib/pandarus/models/page.rb', line 6 def url @url 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/page.rb', line 9 def self.attribute_map { :url => {:external => "url", :container => false, :type => "String"}, :title => {:external => "title", :container => false, :type => "String"}, :created_at => {:external => "created_at", :container => false, :type => "DateTime"}, :updated_at => {:external => "updated_at", :container => false, :type => "DateTime"}, :hide_from_students => {:external => "hide_from_students", :container => false, :type => nil}, :editing_roles => {:external => "editing_roles", :container => false, :type => "String"}, :last_edited_by => {:external => "last_edited_by", :container => false, :type => "User"}, :body => {:external => "body", :container => false, :type => "String"}, :published => {:external => "published", :container => false, :type => nil}, :front_page => {:external => "front_page", :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"} } end |