class JarvisbotSongfinder::UnknownProvider

NullObject for handling cases where none of the providers matched request with their URL_REGEX

Attributes

errors[R]

Public Class Methods

new() click to toggle source
# File lib/jarvisbot_songfinder/providers/unknown_provider.rb, line 9
def initialize
  @errors = [ReplyMessage::Request.unknown_provider]
end

Public Instance Methods

valid?() click to toggle source
# File lib/jarvisbot_songfinder/providers/unknown_provider.rb, line 13
def valid?
  false
end