Class: Phabulous::Revision
Instance Attribute Summary collapse
-
#authorPHID ⇒ Object
Returns the value of attribute authorPHID.
-
#dateModified ⇒ Object
Returns the value of attribute dateModified.
-
#id ⇒ Object
Returns the value of attribute id.
-
#lineCount ⇒ Object
Returns the value of attribute lineCount.
-
#reviewers ⇒ Object
Returns the value of attribute reviewers.
-
#statusName ⇒ Object
Returns the value of attribute statusName.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#title ⇒ Object
Returns the value of attribute title.
-
#uri ⇒ Object
Returns the value of attribute uri.
Attributes inherited from Entity
Instance Method Summary collapse
Methods inherited from Entity
all, attr_accessor, attributes, #attributes, find, #initialize
Constructor Details
This class inherits a constructor from Phabulous::Entity
Instance Attribute Details
#authorPHID ⇒ Object
Returns the value of attribute authorPHID.
5 6 7 |
# File 'lib/phabulous/revision.rb', line 5 def @authorPHID end |
#dateModified ⇒ Object
Returns the value of attribute dateModified.
5 6 7 |
# File 'lib/phabulous/revision.rb', line 5 def dateModified @dateModified end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/phabulous/revision.rb', line 5 def id @id end |
#lineCount ⇒ Object
Returns the value of attribute lineCount.
5 6 7 |
# File 'lib/phabulous/revision.rb', line 5 def lineCount @lineCount end |
#reviewers ⇒ Object
Returns the value of attribute reviewers.
5 6 7 |
# File 'lib/phabulous/revision.rb', line 5 def reviewers @reviewers end |
#statusName ⇒ Object
Returns the value of attribute statusName.
5 6 7 |
# File 'lib/phabulous/revision.rb', line 5 def statusName @statusName end |
#summary ⇒ Object
Returns the value of attribute summary.
5 6 7 |
# File 'lib/phabulous/revision.rb', line 5 def summary @summary end |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/phabulous/revision.rb', line 5 def title @title end |
#uri ⇒ Object
Returns the value of attribute uri.
5 6 7 |
# File 'lib/phabulous/revision.rb', line 5 def uri @uri end |
Instance Method Details
#author ⇒ Object
20 21 22 |
# File 'lib/phabulous/revision.rb', line 20 def User.find(@authorPHID) end |
#differential_id ⇒ Object
24 25 26 |
# File 'lib/phabulous/revision.rb', line 24 def differential_id "D#{id}" end |
#status ⇒ Object
8 9 10 |
# File 'lib/phabulous/revision.rb', line 8 def status @statusName end |