Class: AppleMusic::SearchResponse
- Defined in:
- lib/apple_music/search.rb
Instance Attribute Summary
Attributes inherited from Response
#data, #errors, #href, #meta, #next, #results
Instance Method Summary collapse
-
#initialize(props = {}) ⇒ SearchResponse
constructor
A new instance of SearchResponse.
Constructor Details
#initialize(props = {}) ⇒ SearchResponse
Returns a new instance of SearchResponse.
5 6 7 8 |
# File 'lib/apple_music/search.rb', line 5 def initialize(props = {}) @results = SearchResult.new(props['results']) super end |