Class: Invoance::Resources::Audit
- Inherits:
-
Object
- Object
- Invoance::Resources::Audit
- Defined in:
- lib/invoance/resources/audit.rb
Overview
Audit Logs resource — client.audit.*
Five sub-resources: events, orgs, streams, portal_sessions, exports.
Defined Under Namespace
Classes: Events, Exports, Orgs, PortalSessions, Streams
Instance Attribute Summary collapse
-
#events ⇒ Object
readonly
Returns the value of attribute events.
-
#exports ⇒ Object
readonly
Returns the value of attribute exports.
-
#orgs ⇒ Object
readonly
Returns the value of attribute orgs.
-
#portal_sessions ⇒ Object
readonly
Returns the value of attribute portal_sessions.
-
#streams ⇒ Object
readonly
Returns the value of attribute streams.
Instance Method Summary collapse
-
#initialize(http) ⇒ Audit
constructor
A new instance of Audit.
Constructor Details
#initialize(http) ⇒ Audit
Returns a new instance of Audit.
195 196 197 198 199 200 201 |
# File 'lib/invoance/resources/audit.rb', line 195 def initialize(http) @events = Events.new(http) @orgs = Orgs.new(http) @streams = Streams.new(http) @portal_sessions = PortalSessions.new(http) @exports = Exports.new(http) end |
Instance Attribute Details
#events ⇒ Object (readonly)
Returns the value of attribute events.
193 194 195 |
# File 'lib/invoance/resources/audit.rb', line 193 def events @events end |
#exports ⇒ Object (readonly)
Returns the value of attribute exports.
193 194 195 |
# File 'lib/invoance/resources/audit.rb', line 193 def exports @exports end |
#orgs ⇒ Object (readonly)
Returns the value of attribute orgs.
193 194 195 |
# File 'lib/invoance/resources/audit.rb', line 193 def orgs @orgs end |
#portal_sessions ⇒ Object (readonly)
Returns the value of attribute portal_sessions.
193 194 195 |
# File 'lib/invoance/resources/audit.rb', line 193 def portal_sessions @portal_sessions end |
#streams ⇒ Object (readonly)
Returns the value of attribute streams.
193 194 195 |
# File 'lib/invoance/resources/audit.rb', line 193 def streams @streams end |