Sha256: 2568e47aa5c6add20e0779b8e0970c8f1001fb8829f1ed3e530459c66fea1f76

Contents?: true

Size: 439 Bytes

Versions: 250

Compression:

Stored size: 439 Bytes

Contents

require 'ostruct'
@resource_struct = OpenStruct.new(@resource)

object @resource_struct => :certificate

attributes :id, :cert, :key
attributes :created => :created_at,
           :updated => :updated_at

child OpenStruct.new(@resource_struct.serial) => :serial do
  attributes :id, :revoked, :collected, :serial
  attributes :created    => :created_at,
             :updated    => :updated_at,
             :expiration => :expires_at
end

Version data entries

250 entries across 250 versions & 1 rubygems

Version Path
katello-4.14.2 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.15.0 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.15.0.rc2 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.15.0.rc1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.14.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.14.0 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.14.0.rc3 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.14.0.rc2 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.14.0.rc1.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.14.0.rc1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.13.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.13.0 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.12.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.13.0.rc1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.12.0 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.12.0.rc3 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.12.0.rc2 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.12.0.rc1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.11.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.11.0 app/views/katello/api/v2/uebercerts/show.json.rabl