Sha256: e8faefc2404191c60cb7f6b37b3cdf4178c0a1d4e51f6456b28952b465c23dea
Contents?: true
Size: 668 Bytes
Versions: 5
Compression:
Stored size: 668 Bytes
Contents
module Tufy module Fields module Address class BuildAddress1Field < BuildField expects :raw_data promises :transformed_data executed do |ctx| ctx.transformed_data = ctx.transformed_data + transform(ctx).upcase end private def self.transform(ctx) raw_data = ctx.raw_data BuildAddressSegment::Constants::ADDRESS_LINE_1_TAG + FormatStrings::F2TS % remove_special_characters_except_space(raw_data[:address_line_1]).size + remove_special_characters_except_space(raw_data[:address_line_1]) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems