Class: ADN::CLI::GlobalStream
- Inherits:
-
TerminalStream
- Object
- TerminalStream
- ADN::CLI::GlobalStream
- Defined in:
- lib/adn/cli/global_stream.rb
Instance Method Summary collapse
Methods inherited from TerminalStream
Constructor Details
This class inherits a constructor from ADN::CLI::TerminalStream
Instance Method Details
#get_stream ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/adn/cli/global_stream.rb', line 8 def get_stream params = { count: 10, include_directed_posts: 1, include_annotations: 1 } params[:since_id] = @since_id unless @since_id.nil? ADN::API::Post.global_stream(params) end |