Class: Duracloud::AuditLog

Inherits:
Object
  • Object
show all
Includes:
TSV
Defined in:
lib/duracloud/audit_log.rb

Constant Summary

Constants included from TSV

TSV::CHUNK_SIZE

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject (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_idObject (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

#tsvObject



13
14
15
# File 'lib/duracloud/audit_log.rb', line 13

def tsv
  super || response.body
end