Sha256: bbfae12a8d2545f8c76742dd764249422a17ef8cc84d0556626ee862e88e8096

Contents?: true

Size: 191 Bytes

Versions: 19

Compression:

Stored size: 191 Bytes

Contents

attributes :sync_state, :last_sync

node :last_sync_words do |object|
  if (object.respond_to?('last_sync') && object.last_sync)
    time_ago_in_words(Time.parse(object.last_sync))
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
katello-3.0.2 app/views/katello/api/v2/common/_syncable.json.rabl
katello-2.4.5 app/views/katello/api/v2/common/_syncable.json.rabl
katello-3.0.1 app/views/katello/api/v2/common/_syncable.json.rabl
katello-2.4.4 app/views/katello/api/v2/common/_syncable.json.rabl
katello-3.0.0 app/views/katello/api/v2/common/_syncable.json.rabl
katello-2.4.3 app/views/katello/api/v2/common/_syncable.json.rabl
katello-3.0.0.rc7 app/views/katello/api/v2/common/_syncable.json.rabl
katello-3.0.0.rc5 app/views/katello/api/v2/common/_syncable.json.rabl
katello-2.4.2 app/views/katello/api/v2/common/_syncable.json.rabl
katello-3.0.0.rc4 app/views/katello/api/v2/common/_syncable.json.rabl
katello-3.0.0.rc3 app/views/katello/api/v2/common/_syncable.json.rabl
katello-3.0.0.rc2 app/views/katello/api/v2/common/_syncable.json.rabl
katello-3.0.0.rc1 app/views/katello/api/v2/common/_syncable.json.rabl
katello-2.4.1 app/views/katello/api/v2/common/_syncable.json.rabl
katello-2.4.0 app/views/katello/api/v2/common/_syncable.json.rabl
katello-2.4.0.rc3 app/views/katello/api/v2/common/_syncable.json.rabl
katello-2.4.0.rc2 app/views/katello/api/v2/common/_syncable.json.rabl
katello-2.4.0.rc1 app/views/katello/api/v2/common/_syncable.json.rabl
katello-2.2.2 app/views/katello/api/v2/common/_syncable.json.rabl