lib/itunes_api/requests/lookup.rb in itunes_api-0.8.2 vs lib/itunes_api/requests/lookup.rb in itunes_api-1.0.0

- old
+ new

@@ -1,11 +1,11 @@ module ItunesApi module Requests # Allows querying the API via lookup. class Lookup include Base - attr_reader_init :artist_id + attr_reader_init :artist_id, :store selfie :artist_with_albums def artist_with_albums return artist unless artist @@ -42,10 +42,10 @@ def query { entity: 'album', id: @artist_id, - country: country_code, + country: store.to_s.upcase, limit: LIMIT, sort: 'recent' } end