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

attributes :url, :title, :description

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