lib/songkickr/artist.rb in songkickr-0.3.3 vs lib/songkickr/artist.rb in songkickr-0.4.0

- old
+ new

@@ -8,17 +8,17 @@ # "onTourUntil":"2010-01-01" # } # # http://www.songkick.com/developer/artist-search class Artist - attr_accessor :uri, :display_name, :id, :on_tour_until + attr_accessor :uri, :display_name, :id, :on_tour_until, :identifier # Accepts a hash of artist attributes. def initialize(artist_hash = {}) - @uri = artist_hash["uri"] @display_name = artist_hash["displayName"] @id = artist_hash["id"] @uri = artist_hash["uri"] @on_tour_until = artist_hash["onTourUntil"] + @identifier = artist_hash["identifier"] end end end