Class: Hiya::Analytics::Popular
- Defined in:
- lib/hiya/analytics/popular.rb
Instance Attribute Summary
Attributes inherited from Base
#api_url, #bearer_token, #response, #source
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Hiya::Base
Instance Method Details
#all ⇒ Object
6 7 8 9 10 11 |
# File 'lib/hiya/analytics/popular.rb', line 6 def all @response = conn.get('/v1/analytics/popular') Oj.load(response.body, symbol_keys: true) rescue StandardError => _e {} end |