Module: Posts

Included in:
Pnut::Client
Defined in:
lib/pnut/posts.rb

Instance Method Summary collapse

Instance Method Details

#global(**args) ⇒ Object

GET /posts/streams/global

A stream of all users’ public posts.



5
6
7
# File 'lib/pnut/posts.rb', line 5

def global(**args)
  self.request("/posts/streams/global", params: args)
end

#unified(**args) ⇒ Object

GET /posts/streams/unified

A combined Personal Stream including the authenticated user’s mentions.



12
13
14
# File 'lib/pnut/posts.rb', line 12

def unified(**args)
  self.request("/posts/streams/unified", params: args)
end