Make updated_at optional in pipelines serializer

This commit is contained in:
Grzegorz Bizon 2016-11-10 21:57:15 +01:00
parent 6b52adc661
commit 5067d03457
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class PipelineEntity < Grape::Entity
end
def incremental?
options[:incremental]
options[:incremental] && last_updated
end
def last_updated