module ParamsTransformer::ValueParser::Relationship

Attributes

transformer[R]

Public Instance Methods

after_init(args = {}) click to toggle source
# File lib/params_transformer/value_parser/relationship.rb, line 6
def after_init(args = {})
  @transformer = args[:transformer]
  raise "An associated transformer class is required for #{self.class.name} input" unless @transformer.present?
end