Class: PlatformAPI::Archive
- Inherits:
-
Object
- Object
- PlatformAPI::Archive
- Defined in:
- lib/platform-api/client.rb
Overview
An audit trail archive represents a monthly json zipped file containing events
Instance Method Summary collapse
- #info(enterprise_account_id_or_enterprise_account_name, archive_year, archive_month) ⇒ Object
-
#initialize(client) ⇒ Archive
constructor
A new instance of Archive.
- #list(enterprise_account_id_or_enterprise_account_name) ⇒ Object
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(enterprise_account_id_or_enterprise_account_name, archive_year, archive_month) @client.archive.info(enterprise_account_id_or_enterprise_account_name, 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(enterprise_account_id_or_enterprise_account_name) @client.archive.list(enterprise_account_id_or_enterprise_account_name) end |