Class: Backup::Storages::Base::Object
- Inherits:
-
Object
- Object
- Backup::Storages::Base::Object
- Defined in:
- lib/backup-agent/storages/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#storage ⇒ Object
readonly
Returns the value of attribute storage.
Instance Method Summary collapse
-
#initialize(storage, id) ⇒ Object
constructor
A new instance of Object.
- #last_modified ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(storage, id) ⇒ Object
Returns a new instance of Object.
24 25 26 27 |
# File 'lib/backup-agent/storages/base.rb', line 24 def initialize(storage, id) @storage = storage @id = id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
22 23 24 |
# File 'lib/backup-agent/storages/base.rb', line 22 def id @id end |
#storage ⇒ Object (readonly)
Returns the value of attribute storage.
22 23 24 |
# File 'lib/backup-agent/storages/base.rb', line 22 def storage @storage end |