Sha256: 547f39ea45294637661b85467f41022fc953aea7ab4c42f94d518bc9fffa10b8
Contents?: true
Size: 758 Bytes
Versions: 13
Compression:
Stored size: 758 Bytes
Contents
object @resource attributes :id, :organization_id attributes :name, :description attributes :interval, :next_sync attributes :created_at, :updated_at attributes :enabled, :foreman_tasks_recurring_logic_id attributes :cron_expression 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
13 entries across 13 versions & 1 rubygems