Class: Copy::Revision

Inherits:
Base
  • Object
show all
Defined in:
lib/copy/revision.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#created_time

Instance Method Summary collapse

Methods inherited from Base

#errors, #set_attributes, #valid?

Methods included from Operations::Base

included

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

#conflictObject

Returns the value of attribute conflict.



4
5
6
# File 'lib/copy/revision.rb', line 4

def conflict
  @conflict
end

#creatorObject

Returns the value of attribute creator.



4
5
6
# File 'lib/copy/revision.rb', line 4

def creator
  @creator
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/copy/revision.rb', line 4

def id
  @id
end

#latestObject

Returns the value of attribute latest.



4
5
6
# File 'lib/copy/revision.rb', line 4

def latest
  @latest
end

#modified_timeObject

Returns the value of attribute modified_time.



4
5
6
# File 'lib/copy/revision.rb', line 4

def modified_time
  @modified_time
end

#revision_idObject

Returns the value of attribute revision_id.



4
5
6
# File 'lib/copy/revision.rb', line 4

def revision_id
  @revision_id
end

#sizeObject

Returns the value of attribute size.



4
5
6
# File 'lib/copy/revision.rb', line 4

def size
  @size
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/copy/revision.rb', line 4

def type
  @type
end