Class: SafetyKit::Resources::Beta
- Inherits:
-
Object
- Object
- SafetyKit::Resources::Beta
- Defined in:
- lib/safety_kit/resources/beta.rb,
lib/safety_kit/resources/beta/events.rb
Defined Under Namespace
Classes: Events
Instance Attribute Summary collapse
-
#events ⇒ SafetyKit::Resources::Beta::Events
readonly
Beta.
Instance Method Summary collapse
-
#initialize(client:) ⇒ Beta
constructor
private
A new instance of Beta.
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.
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
#events ⇒ SafetyKit::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 |