diff options
author | Dosuken shinya <gitlab.shinyamaeda@gmail.com> | 2017-03-23 13:37:27 +0300 |
---|---|---|
committer | Dosuken shinya <gitlab.shinyamaeda@gmail.com> | 2017-03-23 13:37:27 +0300 |
commit | b3375a49647853f45df11b464bf7aa3e34af0f88 (patch) | |
tree | cb0c3af613116aa337faa076e90ad056697fab10 /app/serializers | |
parent | 1d75989551090ce1f21984cb2630e29493d9065b (diff) |
Add a blank line after a guard clause
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/pipeline_serializer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/pipeline_serializer.rb b/app/serializers/pipeline_serializer.rb index 0094e3f4114..7829df9fada 100644 --- a/app/serializers/pipeline_serializer.rb +++ b/app/serializers/pipeline_serializer.rb @@ -25,6 +25,7 @@ class PipelineSerializer < BaseSerializer def represent_status(resource) return {} unless resource.present? + data = represent(resource, { only: [{ details: [:status] }] }) data.dig(:details, :status) || {} end |