Class: Duracloud::AuditLog
- Inherits:
-
Object
- Object
- Duracloud::AuditLog
- Includes:
- TSV
- Defined in:
- lib/duracloud/audit_log.rb
Constant Summary
Constants included from TSV
Instance Attribute Summary collapse
-
#space_id ⇒ Object
readonly
Returns the value of attribute space_id.
-
#store_id ⇒ Object
readonly
Returns the value of attribute store_id.
Instance Method Summary collapse
-
#initialize(space_id, store_id = nil) ⇒ AuditLog
constructor
A new instance of AuditLog.
- #tsv ⇒ Object
Methods included from TSV
#csv, #load_tsv, #load_tsv_file, #rows, #table, #to_s, #tsv_source, #tsv_source?
Constructor Details
#initialize(space_id, store_id = nil) ⇒ AuditLog
Returns a new instance of AuditLog.
7 8 9 10 11 |
# File 'lib/duracloud/audit_log.rb', line 7 def initialize(space_id, store_id = nil) @space_id = space_id @store_id = store_id @response = nil end |
Instance Attribute Details
#space_id ⇒ Object (readonly)
Returns the value of attribute space_id.
5 6 7 |
# File 'lib/duracloud/audit_log.rb', line 5 def space_id @space_id end |
#store_id ⇒ Object (readonly)
Returns the value of attribute store_id.
5 6 7 |
# File 'lib/duracloud/audit_log.rb', line 5 def store_id @store_id end |
Instance Method Details
#tsv ⇒ Object
13 14 15 |
# File 'lib/duracloud/audit_log.rb', line 13 def tsv super || response.body end |