Sha256: f8d9c6e6142c4633d6f43d711fadaf21b8b2220062f6ab18ccce7a42329da039

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

require 'open-uri'
require 'nokogiri'

module LyricFind
  class API
    def instrumental? artist, song_name
      doc = get_search_api_response artist, song_name
      return nil if doc.nil?

      get_instrumental doc
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
LyricFind-0.1.7 lib/lyricfind/instrumental.rb
LyricFind-0.1.6 lib/lyricfind/instrumental.rb