class ArticleFixtureGen::Data::PmtpDecoratorParams

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

Public Class Methods

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