Sha256: 6758251593f9d9a795fb0d21a81ec92a7368deb2bfdf6e8f1fadc73aa7172e91
Contents?: true
Size: 740 Bytes
Versions: 3
Compression:
Stored size: 740 Bytes
Contents
object @resource attributes :id, :organization_id attributes :name, :description attributes :interval, :next_sync attributes :sync_date_sans_tz => :sync_date 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
Version data entries
3 entries across 3 versions & 1 rubygems