Class: Onlyfans::Resources::SavedForLater
- Inherits:
-
Object
- Object
- Onlyfans::Resources::SavedForLater
- 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
Instance Attribute Summary collapse
- #messages ⇒ Onlyfans::Resources::SavedForLater::Messages readonly
- #posts ⇒ Onlyfans::Resources::SavedForLater::Posts readonly
Instance Method Summary collapse
-
#initialize(client:) ⇒ SavedForLater
constructor
private
A new instance of SavedForLater.
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.
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
#messages ⇒ Onlyfans::Resources::SavedForLater::Messages (readonly)
7 8 9 |
# File 'lib/onlyfans/resources/saved_for_later.rb', line 7 def @messages end |
#posts ⇒ Onlyfans::Resources::SavedForLater::Posts (readonly)
10 11 12 |
# File 'lib/onlyfans/resources/saved_for_later.rb', line 10 def posts @posts end |