Class: ArticleFixtureGen::Data::SmtpDecoratorParams
- Inherits:
-
Object
- Object
- ArticleFixtureGen::Data::SmtpDecoratorParams
- Defined in:
- lib/article_fixture_gen/data/smtp_decorator_params.rb
Overview
Builds a parameter hash for calling ‘MtpDecoratedMarkup` to decorate markup with single MTPs (as opposed to paired MTPs).
Class Method Summary collapse
Class Method Details
.call(base_markup:, config:) ⇒ Object
10 11 12 13 |
# 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 |