consistent method signature
Mark Dodwell
10 years ago
229 | 229 |
Base64.decode64(value.tr('-_', '+/'))
|
230 | 230 |
end
|
231 | 231 |
|
232 | |
def image_url uid, options
|
|
232 |
def image_url(uid, options)
|
233 | 233 |
uri_class = options[:secure_image_url] ? URI::HTTPS : URI::HTTP
|
234 | 234 |
url = uri_class.build({:host => 'graph.facebook.com', :path => "/#{uid}/picture"})
|
235 | 235 |
|