class JarvisbotSongfinder::Bandrequest

Pseudo-provider for internal use, pretty much a remnant of the past i'm too lazy to extract into my rails app

Public Class Methods

new(band) click to toggle source
Calls superclass method
# File lib/jarvisbot_songfinder/providers/bandrequest.rb, line 7
def initialize(band)
  super()
  @band = band
end

Public Instance Methods

artist() click to toggle source
# File lib/jarvisbot_songfinder/providers/bandrequest.rb, line 20
def artist
  @band
end
explicit?() click to toggle source
# File lib/jarvisbot_songfinder/providers/bandrequest.rb, line 32
def explicit?
  false
end
length() click to toggle source
# File lib/jarvisbot_songfinder/providers/bandrequest.rb, line 12
def length
  0
end
provider() click to toggle source
# File lib/jarvisbot_songfinder/providers/bandrequest.rb, line 24
def provider
  "bandrequest"
end
title() click to toggle source
# File lib/jarvisbot_songfinder/providers/bandrequest.rb, line 16
def title
  ""
end
url() click to toggle source
# File lib/jarvisbot_songfinder/providers/bandrequest.rb, line 28
def url
  "https://www.last.fm/search?q=#{@band}"
end
valid?() click to toggle source
# File lib/jarvisbot_songfinder/providers/bandrequest.rb, line 36
def valid?
  true
end