gitcoinco/code_fund_ads

View on GitHub
app/components/emails/body_component.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Emails::BodyComponent < ApplicationComponent
  def initialize(body: nil)
    @body = body
  end

  private

  attr_reader :body

  def render?
    body.present?
  end
end