Class: Hypem::TrackFavoritesRequest
- Defined in:
- lib/hypem/track_favorites_request.rb
Class Method Summary collapse
-
.get_data(path) ⇒ Object
Extract the response in a user names enumerator.
Methods inherited from Request
Class Method Details
.get_data(path) ⇒ Object
Extract the response in a user names enumerator
8 9 10 11 |
# File 'lib/hypem/track_favorites_request.rb', line 8 def self.get_data(path) response = get(path) return response.body.scan(/<span>(\w*)<\/span>/).flatten end |