Class: Opencdd::Entity::VersionHistory::Entry
- Inherits:
-
Struct
- Object
- Struct
- Opencdd::Entity::VersionHistory::Entry
- Defined in:
- lib/opencdd/entity/version_history.rb
Instance Attribute Summary collapse
-
#change_request_id ⇒ Object
Returns the value of attribute change_request_id.
-
#is_current ⇒ Object
Returns the value of attribute is_current.
-
#revision ⇒ Object
Returns the value of attribute revision.
-
#status ⇒ Object
Returns the value of attribute status.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
-
#unid ⇒ Object
Returns the value of attribute unid.
-
#user ⇒ Object
Returns the value of attribute user.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Instance Attribute Details
#change_request_id ⇒ Object
Returns the value of attribute change_request_id
16 17 18 |
# File 'lib/opencdd/entity/version_history.rb', line 16 def change_request_id @change_request_id end |
#is_current ⇒ Object
Returns the value of attribute is_current
16 17 18 |
# File 'lib/opencdd/entity/version_history.rb', line 16 def is_current @is_current end |
#revision ⇒ Object
Returns the value of attribute revision
16 17 18 |
# File 'lib/opencdd/entity/version_history.rb', line 16 def revision @revision end |
#status ⇒ Object
Returns the value of attribute status
16 17 18 |
# File 'lib/opencdd/entity/version_history.rb', line 16 def status @status end |
#timestamp ⇒ Object
Returns the value of attribute timestamp
16 17 18 |
# File 'lib/opencdd/entity/version_history.rb', line 16 def @timestamp end |
#unid ⇒ Object
Returns the value of attribute unid
16 17 18 |
# File 'lib/opencdd/entity/version_history.rb', line 16 def unid @unid end |
#user ⇒ Object
Returns the value of attribute user
16 17 18 |
# File 'lib/opencdd/entity/version_history.rb', line 16 def user @user end |
#version ⇒ Object
Returns the value of attribute version
16 17 18 |
# File 'lib/opencdd/entity/version_history.rb', line 16 def version @version end |
Instance Method Details
#current? ⇒ Boolean
21 |
# File 'lib/opencdd/entity/version_history.rb', line 21 def current? = !!is_current |