Module: Integrations::Base::Bamboo

Extended by:
ActiveSupport::Concern
Included in:
Integrations::Bamboo
Defined in:
app/models/concerns/integrations/base/bamboo.rb

Instance Method Summary collapse

Instance Method Details

#avatar_urlObject



95
96
97
98
99
# File 'app/models/concerns/integrations/base/bamboo.rb', line 95

def avatar_url
  ActionController::Base.helpers.image_path(
    'illustrations/third-party-logos/integrations-logos/atlassian-bamboo.svg'
  )
end

#execute(data) ⇒ Object



89
90
91
92
93
# File 'app/models/concerns/integrations/base/bamboo.rb', line 89

def execute(data)
  return unless supported_events.include?(data[:object_kind])

  get_path("updateAndBuild.action", { buildKey: build_key })
end