Method: Unsplash::Photo#unlike!
- Defined in:
- lib/unsplash/photo.rb
#unlike! ⇒ Boolean
Unlike a photo for the current user.
20 21 22 23 |
# File 'lib/unsplash/photo.rb', line 20 def unlike! connection.delete("/photos/#{id}/like") true end |