lib/providers/twitter.rb in faces-0.5.1 vs lib/providers/twitter.rb in faces-0.6.0
- old
+ new
@@ -23,9 +23,11 @@
# Constructs HTML <img /> tag for Twitter
def html(username, configuration = {})
m_configuration = Faces::Common.merge_configurations([Faces::Configuration::TWITTER, configuration])
Faces::Public.generate_html(url(username, configuration), m_configuration)
end
+ # Doesn't support SSL
+ def ssl?; false; end
# Checks Avatar exists
def exists?(username, configuration = {})
url = URI.parse(url(username, configuration))
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = (url.scheme == 'https')
\ No newline at end of file