Module: JarvisbotSongfinder

Defined in:
lib/jarvisbot_songfinder.rb,
lib/jarvisbot_songfinder/version.rb,
lib/jarvisbot_songfinder/configuration.rb,
lib/jarvisbot_songfinder/helpers/query.rb,
lib/jarvisbot_songfinder/helpers/url_query.rb,
lib/jarvisbot_songfinder/providers/provider.rb,
lib/jarvisbot_songfinder/helpers/search_query.rb,
lib/jarvisbot_songfinder/helpers/reply_message.rb,
lib/jarvisbot_songfinder/providers/bandrequest.rb,
lib/jarvisbot_songfinder/providers/spotify_api.rb,
lib/jarvisbot_songfinder/providers/youtube_api.rb,
lib/jarvisbot_songfinder/providers/unknown_provider.rb,
lib/jarvisbot_songfinder/providers/unknown_search_provider.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ReplyMessage Classes: Bandrequest, Configuration, Error, Provider, Query, SearchQuery, SpotifyAPI, UnknownProvider, UnknownSearchProvider, UrlQuery, YoutubeAPI

Constant Summary collapse

VERSION =
"1.1.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



6
7
8
# File 'lib/jarvisbot_songfinder/configuration.rb', line 6

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



9
10
11
12
# File 'lib/jarvisbot_songfinder/configuration.rb', line 9

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end