Class: Copy::Revision
Instance Attribute Summary collapse
-
#conflict ⇒ Object
Returns the value of attribute conflict.
-
#creator ⇒ Object
Returns the value of attribute creator.
-
#id ⇒ Object
Returns the value of attribute id.
-
#latest ⇒ Object
Returns the value of attribute latest.
-
#modified_time ⇒ Object
Returns the value of attribute modified_time.
-
#revision_id ⇒ Object
Returns the value of attribute revision_id.
-
#size ⇒ Object
Returns the value of attribute size.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Revision
constructor
A new instance of Revision.
Methods inherited from Base
#errors, #set_attributes, #valid?
Methods included from Operations::Base
Constructor Details
#initialize(attributes = {}) ⇒ Revision
Returns a new instance of Revision.
7 8 9 10 |
# File 'lib/copy/revision.rb', line 7 def initialize(attributes = {}) super(attributes) parse_creator end |
Instance Attribute Details
#conflict ⇒ Object
Returns the value of attribute conflict.
4 5 6 |
# File 'lib/copy/revision.rb', line 4 def conflict @conflict end |
#creator ⇒ Object
Returns the value of attribute creator.
4 5 6 |
# File 'lib/copy/revision.rb', line 4 def creator @creator end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/copy/revision.rb', line 4 def id @id end |
#latest ⇒ Object
Returns the value of attribute latest.
4 5 6 |
# File 'lib/copy/revision.rb', line 4 def latest @latest end |
#modified_time ⇒ Object
Returns the value of attribute modified_time.
4 5 6 |
# File 'lib/copy/revision.rb', line 4 def modified_time @modified_time end |
#revision_id ⇒ Object
Returns the value of attribute revision_id.
4 5 6 |
# File 'lib/copy/revision.rb', line 4 def revision_id @revision_id end |
#size ⇒ Object
Returns the value of attribute size.
4 5 6 |
# File 'lib/copy/revision.rb', line 4 def size @size end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/copy/revision.rb', line 4 def type @type end |