Sha256: 6482f89747130373ea5472da5f490ce62d71aed6c353d4aaabbc739dcc32ca96
Contents?: true
Size: 739 Bytes
Versions: 117
Compression:
Stored size: 739 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
117 entries across 117 versions & 1 rubygems