Class: SafetyKit::Resources::Beta

Inherits:
Object
  • Object
show all
Defined in:
lib/safety_kit/resources/beta.rb,
lib/safety_kit/resources/beta/events.rb

Defined Under Namespace

Classes: Events

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Beta

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Beta.

Parameters:



14
15
16
17
# File 'lib/safety_kit/resources/beta.rb', line 14

def initialize(client:)
  @client = client
  @events = SafetyKit::Resources::Beta::Events.new(client: client)
end

Instance Attribute Details

#eventsSafetyKit::Resources::Beta::Events (readonly)

Beta. Send backend events for account, content, user interaction, report, and moderation activity.



9
10
11
# File 'lib/safety_kit/resources/beta.rb', line 9

def events
  @events
end