opf/openproject

View on GitHub
modules/webhooks/app/components/webhooks/outgoing/deliveries/response_component.rb

Summary

Maintainability
A
0 mins
Test Coverage
module ::Webhooks
  module Outgoing
    module Deliveries
      class ResponseComponent < ApplicationComponent
        property :id
        property :response_headers
        property :response_body

        def title
          model.class.human_attribute_name("response_body")
        end
      end
    end
  end
end