lib/rapgenius/artist.rb in rapgenius-1.0.2 vs lib/rapgenius/artist.rb in rapgenius-1.0.3

- old
+ new

@@ -1,9 +1,11 @@ # encoding: utf-8 module RapGenius class Artist include RapGenius::Client + attr_reader :id + def self.find(id) self.new(id: id).tap { |artist| artist.document } end def initialize(kwargs = {})