Method: TwitterJekyll::ApiRequest#to_uri
- Defined in:
- lib/jekyll-twitter-plugin.rb
#to_uri ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return a URI for Twitter API with query params
118 119 120 121 122 |
# File 'lib/jekyll-twitter-plugin.rb', line 118 def to_uri URI.parse(TWITTER_API_URL).tap do |uri| uri.query = URI.encode_www_form url_params end end |