lib/itunes_api/requests/lookup.rb in itunes_api-0.3.1 vs lib/itunes_api/requests/lookup.rb in itunes_api-0.4.0
- old
+ new
@@ -35,16 +35,12 @@
def artist
symbolize_keys(unwrapped(artist_data))
end
def artist_data
- symbolize_keys(
- unwrapped(
- results.find do |wrappers|
- wrappers['wrapperType'] == 'artist'
- end
- )
- )
+ results.find do |wrappers|
+ wrappers['wrapperType'] == 'artist'
+ end
end
def query_values
{
entity: 'album',