# Toplevel Pubnub module. module Pubnub # Holds here_now functionality class Audit < PAM include Concurrent::Async include Pubnub::Validator::Audit def initialize(options, app) @event = :audit super end private def current_operation Pubnub::Constants::OPERATION_AUDIT end def parameters(signature = false) { timestamp: @timestamp }.merge(super(signature)) end def path '/' + [ 'v2', 'auth', 'audit', 'sub-key', @subscribe_key ].join('/') end end end