Method: Ayadn::Endpoints#global
- Defined in:
- lib/ayadn/endpoints.rb
#global(options) ⇒ Object
76 77 78 79 80 81 82 83 84 85 |
# File 'lib/ayadn/endpoints.rb', line 76 def global() () do API.build_query({count: Settings..counts.global}) end if Settings.global.force "#{@posts_url}stream/global?#{@options_list}" else "#{@posts_url}stream/global?access_token=#{Settings.user_token}#{@options_list}" end end |