Module: ProductHelpers

Defined in:
lib/product_helpers.rb

Overview

rubocop:todo Style/Documentation

Class Method Summary collapse

Class Method Details

.single_template(name) ⇒ Object


3
4
5
# File 'lib/product_helpers.rb', line 3

def self.single_template(name)
  { name: name, selection_behaviour: 'SingleProduct', products: { nil => name } }
end