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.2.0.rc2 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.1.3 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.2.0.rc1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.0.2.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.1.2.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.0.2 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.1.2 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-3.18.4 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.1.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.1.0 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.0.1.2 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-3.18.3.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.1.0.rc2.2 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.1.0.rc2.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.0.1.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-3.18.3 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.1.0.rc2 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.0.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.1.0.rc1.1 app/views/katello/api/v2/uebercerts/show.json.rabl
katello-4.1.0.rc1 app/views/katello/api/v2/uebercerts/show.json.rabl