Sha256: 8523dcf04b9acdd889e203c5fb01f3369cc6f60e6f7ae832ce91819d7b087cd7
Contents?: true
Size: 489 Bytes
Versions: 25
Compression:
Stored size: 489 Bytes
Contents
module Shipit class DeploySerializer < TaskSerializer include GithubUrlHelper has_many :commits attributes :compare_url, :rollback_url, :additions, :deletions def html_url stack_deploy_url(object.stack, object) end def compare_url github_commit_range_url(object.stack, object.since_commit, object.until_commit) end def rollback_url revert_stack_deploy_url(object.stack, object) end def type :deploy end end end
Version data entries
25 entries across 25 versions & 1 rubygems