class AdnHashtagPhotos::Uploader::Climber
Public Class Methods
detected?(annotations)
click to toggle source
@param [Array] annotations
# File lib/adn_hashtag_photos/uploader/climber.rb, line 5 def self.detected? annotations annotations.any?{|item| item[:type] == 'com.alwaysallthetime.climber.poster' } end
Public Instance Methods
thumbnail_url()
click to toggle source
# File lib/adn_hashtag_photos/uploader/climber.rb, line 11 def thumbnail_url @annotations.detect{|annotation| annotation[:type] == 'com.alwaysallthetime.climber.poster' }[:value][:url] end