Class: ExperianConsumerView::Transformers::Attributes::Match

Inherits:
Object
  • Object
show all
Extended by:
Base
Defined in:
lib/experian_consumer_view/transformers/attributes/match.rb

Overview

An Attribute Transformer to tranform the ConsumerView ‘Match’ field

Constant Summary collapse

ATTRIBUTE_NAME =
'Match'
CODE_MAP =
{
  'PC' => { api_code: 'PC', match_level: 'postcode' },
  'H' => { api_code: 'H', match_level: 'household' },
  'P' => { api_code: 'P', match_level: 'person' }
}.freeze

Method Summary

Methods included from Base

attribute_name, transform_attribute