Sha256: 90360882b155f937f7fb84780b38b374bae8575536b56018a9dacffcb5ad05ba

Contents?: true

Size: 156 Bytes

Versions: 10

Compression:

Stored size: 156 Bytes

Contents

object resource = controller.get_resource

attributes :id

node(:errors) { resource.errors.to_hash }
node(:full_messages) { resource.errors.full_messages }

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/api/v2/errors/unprocessable_entity.json.rabl
foreman_discovery-1.0.0 test/foreman_app/app/views/api/v1/errors/unprocessable_entity.json.rabl
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/api/v1/errors/unprocessable_entity.json.rabl
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/api/v2/errors/unprocessable_entity.json.rabl
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/api/v2/errors/unprocessable_entity.json.rabl
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/api/v1/errors/unprocessable_entity.json.rabl
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/api/v2/errors/unprocessable_entity.json.rabl
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/api/v1/errors/unprocessable_entity.json.rabl
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/api/v2/errors/unprocessable_entity.json.rabl
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/api/v1/errors/unprocessable_entity.json.rabl