Class: JarvisbotSongfinder::UrlQuery
- Inherits:
-
Object
- Object
- JarvisbotSongfinder::UrlQuery
- Defined in:
- lib/jarvisbot_songfinder/helpers/url_query.rb
Overview
Instance Method Summary collapse
-
#initialize(url, config: JarvisbotSongfinder.configuration) ⇒ UrlQuery
constructor
A new instance of UrlQuery.
- #track ⇒ Object
Constructor Details
#initialize(url, config: JarvisbotSongfinder.configuration) ⇒ UrlQuery
Returns a new instance of UrlQuery.
8 9 10 11 12 |
# File 'lib/jarvisbot_songfinder/helpers/url_query.rb', line 8 def initialize(url, config: JarvisbotSongfinder.configuration) @config = config @url = url @provider = select_provider end |
Instance Method Details
#track ⇒ Object
14 15 16 |
# File 'lib/jarvisbot_songfinder/helpers/url_query.rb', line 14 def track @provider end |