class ArticleFixtureGen::Data::SmtpDecoratorParams

Builds a parameter hash for calling `MtpDecoratedMarkup` to decorate markup with single MTPs (as opposed to paired MTPs).

Public Class Methods

call(base_markup:, config:) click to toggle source
# File lib/article_fixture_gen/data/smtp_decorator_params.rb, line 10
def self.call(base_markup:, config:)
  attributes = SmtpAttributes.new config: config
  { attributes: attributes, base_markup: base_markup }
end