Method: Unsplash::Photo#track_download
- Defined in:
- lib/unsplash/photo.rb
#track_download ⇒ String
Track the download of a photo.
27 28 29 |
# File 'lib/unsplash/photo.rb', line 27 def track_download connection.get(links.download_location)["url"] end |