Sha256: 47636f30754dab840a0534b581a1de8b0702e6eb62198fbd9634ac7dcba672ff
Contents?: true
Size: 695 Bytes
Versions: 57
Compression:
Stored size: 695 Bytes
Contents
object @resource attributes :id, :organization_id attributes :name, :description attributes :interval, :next_sync attributes :created_at, :updated_at attributes :enabled child :products => :products do |_product| extends 'katello/api/v2/common/syncable' attributes :id, :cp_id, :name, :label, :description node :repository_count do |prod| if prod.repositories.to_a.any? prod.repositories.count else 0 end end end node :permissions do |sync_plan| { :view_sync_plans => sync_plan.readable?, :edit_sync_plans => sync_plan.editable?, :destroy_sync_plans => sync_plan.deletable? } end node :sync_date do |sync_plan| sync_plan.plan_date_time end
Version data entries
57 entries across 57 versions & 1 rubygems