lib/github-status/support/params.rb in concourse-github-status-0.4.3 vs lib/github-status/support/params.rb in concourse-github-status-0.5.0

- old
+ new

@@ -29,8 +29,13 @@ Contract None => String def description @description ||= params.fetch 'description', '' end + + Contract None => Array + def statuses + @statuses ||= params.fetch 'statuses', [] + end end end end