Sha256: 8055052a9b71498b11184c612e071eea59936ef1bb771b36dae1c88ebb14a80e
Contents?: true
Size: 500 Bytes
Versions: 1
Compression:
Stored size: 500 Bytes
Contents
module Duracloud class AuditLog attr_reader :space_id, :store_id def initialize(space_id, store_id = nil) @space_id = space_id @store_id = store_id @response = nil end def csv(opts = {}) CSVReader.call(tsv, opts) end def tsv response.body end def to_s tsv end private def response @response ||= Client.get_audit_log(space_id, **query) end def query { storeID: store_id } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
duracloud-client-0.1.1 | lib/duracloud/audit_log.rb |