Class: Pandarus::PageRevision
- Defined in:
- lib/pandarus/models/page_revision.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#edited_by ⇒ Object
Returns the value of attribute edited_by.
-
#latest ⇒ Object
Returns the value of attribute latest.
-
#revision_id ⇒ Object
Returns the value of attribute revision_id.
-
#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_revision.rb', line 6 def body @body end |
#edited_by ⇒ Object
Returns the value of attribute edited_by.
6 7 8 |
# File 'lib/pandarus/models/page_revision.rb', line 6 def edited_by @edited_by end |
#latest ⇒ Object
Returns the value of attribute latest.
6 7 8 |
# File 'lib/pandarus/models/page_revision.rb', line 6 def latest @latest end |
#revision_id ⇒ Object
Returns the value of attribute revision_id.
6 7 8 |
# File 'lib/pandarus/models/page_revision.rb', line 6 def revision_id @revision_id end |
#title ⇒ Object
Returns the value of attribute title.
6 7 8 |
# File 'lib/pandarus/models/page_revision.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_revision.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_revision.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 |
# File 'lib/pandarus/models/page_revision.rb', line 9 def self.attribute_map { :revision_id => {:external => "revision_id", :container => false, :type => "Integer"}, :updated_at => {:external => "updated_at", :container => false, :type => "DateTime"}, :latest => {:external => "latest", :container => false, :type => nil}, :edited_by => {:external => "edited_by", :container => false, :type => "User"}, :url => {:external => "url", :container => false, :type => "String"}, :title => {:external => "title", :container => false, :type => "String"}, :body => {:external => "body", :container => false, :type => "String"} } end |