Class: Onlyfans::Resources::Engagement

Inherits:
Object
  • Object
show all
Defined in:
lib/onlyfans/resources/engagement.rb,
lib/onlyfans/resources/engagement/messages.rb,
lib/onlyfans/resources/engagement/messages/mass_messages.rb,
lib/onlyfans/resources/engagement/messages/direct_messages.rb

Defined Under Namespace

Classes: Messages

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Engagement

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 Engagement.

Parameters:



12
13
14
15
# File 'lib/onlyfans/resources/engagement.rb', line 12

def initialize(client:)
  @client = client
  @messages = Onlyfans::Resources::Engagement::Messages.new(client: client)
end

Instance Attribute Details

#messagesOnlyfans::Resources::Engagement::Messages (readonly)



7
8
9
# File 'lib/onlyfans/resources/engagement.rb', line 7

def messages
  @messages
end