class Tufy::Fields::ContactNumber::BuildContactNumberTypeField

Private Class Methods

transform(ctx) click to toggle source
# File lib/tufy/fields/contact_number/build_contact_number_type_field.rb, line 16
def self.transform(ctx)
  raw_data = ctx.raw_data

  BuildContactNumberSegment::Constants::CONTACT_NUMBER_TYPE_TAG +
    FormatStrings::F2TS % raw_data[:contact_number_type].size +
      raw_data[:contact_number_type]
end