app/views/katello/api/v2/subscriptions/show.json.rabl in katello-2.4.0.rc2 vs app/views/katello/api/v2/subscriptions/show.json.rabl in katello-2.4.0.rc3
- old
+ new
@@ -1,12 +1,11 @@
object @resource
extends "katello/api/v2/subscriptions/base"
-attributes :virt_only
attributes :arch
-attributes :unmapped_guest
attributes :description
+attributes :support_type
node :provided_products, :if => lambda { |sub| sub && !sub.products.blank? } do |subscription|
subscription.products.map do |product|
{id: product[:id], name: product[:name]}
end