class Noticent::Definitions::Product

Attributes

name[R]

Public Class Methods

new(config, name) click to toggle source
# File lib/noticent/definitions/product.rb, line 8
def initialize(config, name)
  raise BadConfiguration, 'product name should be a symbol' unless name.is_a? Symbol

  @config = config
  @name = name
end