class PlatformAPI::Archive
An audit trail archive represents a monthly json zipped file containing events
Public Class Methods
new(client)
click to toggle source
# File lib/platform-api/client.rb, line 1490 def initialize(client) @client = client end
Public Instance Methods
info(enterprise_account_id, archive_year, archive_month)
click to toggle source
Get archive for a single month.
@param enterprise_account_id: unique identifier of the enterprise account @param archive_year: year of the archive @param archive_month: month of the archive
# File lib/platform-api/client.rb, line 1499 def info(enterprise_account_id, archive_year, archive_month) @client.archive.info(enterprise_account_id, archive_year, archive_month) end
list(enterprise_account_id)
click to toggle source
List existing archives.
@param enterprise_account_id: unique identifier of the enterprise account
# File lib/platform-api/client.rb, line 1506 def list(enterprise_account_id) @client.archive.list(enterprise_account_id) end