2017-01-20 02:00:14 +02:00
|
|
|
object @card
|
|
|
|
|
2017-04-27 15:42:22 +03:00
|
|
|
attributes :url, :title, :description, :type,
|
|
|
|
:author_name, :author_url, :provider_name,
|
|
|
|
:provider_url, :html, :width, :height
|
2017-01-20 02:00:14 +02:00
|
|
|
|
|
|
|
node(:image) { |card| card.image? ? full_asset_url(card.image.url(:original)) : nil }
|