Class: AppleMusic::SearchResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/apple_music/search.rb

Instance Attribute Summary

Attributes inherited from Response

#data, #errors, #href, #meta, #next, #results

Instance Method Summary collapse

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