about summary refs log tree commit diff
path: root/app/views/api/v1/statuses/card.rabl
blob: 5d8d7af3ba5dd24158a6e2808d7369ce084eb070 (plain) (blame)
1
2
3
4
5
6
7
object @card

attributes :url, :title, :description, :type,
           :author_name, :author_url, :provider_name,
           :provider_url, :html, :width, :height

node(:image) { |card| card.image? ? full_asset_url(card.image.url(:original)) : nil }