Class: PlatformAPI::Archive

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

An audit trail archive represents a monthly json zipped file containing events

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Archive

Returns a new instance of Archive.



2031
2032
2033
# File 'lib/platform-api/client.rb', line 2031

def initialize(client)
  @client = client
end

Instance Method Details

#info(enterprise_account_id_or_enterprise_account_name, archive_year, archive_month) ⇒ Object



2047
2048
2049
# File 'lib/platform-api/client.rb', line 2047

def info(, archive_year, archive_month)
  @client.archive.info(, archive_year, archive_month)
end

#list(enterprise_account_id_or_enterprise_account_name) ⇒ Object



2059
2060
2061
# File 'lib/platform-api/client.rb', line 2059

def list()
  @client.archive.list()
end