Sha256: a8ed4b24a09291e11abd63adee3dc084287081c825af56b2dbbd3a4c5ce51d32
Contents?: true
Size: 1.11 KB
Versions: 32
Compression:
Stored size: 1.11 KB
Contents
# # ish_api / videos / _show # json.id video.id.to_s json.slug video.id.to_s json.youtube_id video.youtube_id json.name video.name json.description video.descr json.subhead video.subhead json.x video.x json.y video.y json.url video.video.url json.item_type 'video' if video.city json.cityname video.city.cityname json.city do json.name video.city.name json.slug video.city.cityname end end json.tags [ { slug: 'adventure', name: 'Adventure' }, { slug: 'bars-and-clubs', name: 'Bars & Clubs' }, { slug: 'food', name: 'Food' }, { slug: 'late-night', name: 'Late Night' } ] if video.user_profile json.username video.user_profile.name end if video.is_premium json.premium_tier video.premium_tier json.is_premium video.premium_tier > 0 if current_user && current_user.profile json.is_purchased current_user.profile.has_premium_purchase( video ) end end if video.thumb json.photo_s169_url video.thumb.url( :s169 ) json.photo_thumb2_url video.thumb.url( :thumb2 ) end
Version data entries
32 entries across 32 versions & 1 rubygems