Class: Onlyfans::Resources::SavedForLater

Inherits:
Object
  • Object
show all
Defined in:
lib/onlyfans/resources/saved_for_later.rb,
lib/onlyfans/resources/saved_for_later/posts.rb,
lib/onlyfans/resources/saved_for_later/messages.rb,
lib/onlyfans/resources/saved_for_later/posts/settings.rb,
lib/onlyfans/resources/saved_for_later/messages/settings.rb

Defined Under Namespace

Classes: Messages, Posts

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ SavedForLater

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

Parameters:



15
16
17
18
19
# File 'lib/onlyfans/resources/saved_for_later.rb', line 15

def initialize(client:)
  @client = client
  @messages = Onlyfans::Resources::SavedForLater::Messages.new(client: client)
  @posts = Onlyfans::Resources::SavedForLater::Posts.new(client: client)
end

Instance Attribute Details

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



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

def messages
  @messages
end

#postsOnlyfans::Resources::SavedForLater::Posts (readonly)



10
11
12
# File 'lib/onlyfans/resources/saved_for_later.rb', line 10

def posts
  @posts
end