musix_match
musix_match copied to clipboard
Problems NoMethodError: undefined method `search' for MusixMatch::Models::Lyrics:Class
When I try use this lib for connect on MusixMatch, this problem happening:
1.9.3 (main)> require 'musix_match'
=> true
1.9.3 (main)> MusixMatch::API::Base.api_key = '06dbe715375d428a1dee3168c9b87422'
=> "06dbe715375d428a1dee3168c9b87422"
1.9.3 (main)> response = MusixMatch.search_lyrics(:q_artist => 'Pantera')
NoMethodError: undefined method `search' for MusixMatch::Models::Lyrics:Class
from /home/vagrant/local/ruby/gems/gems/musix_match-0.2.0/lib/musix_match.rb:36:in `search_lyrics'
@rpontes I had the same issue and i fixed it in this PR