Sha256: 0c4447dd064ac289f54a09e00bbd711119943fa69240b346e395cf810e44dfbb

Contents?: true

Size: 365 Bytes

Versions: 8

Compression:

Stored size: 365 Bytes

Contents

module Clienteer
  module Digester
    class AddressCreation
      def initialize
      end

      def process(row)
        row["address"] = Address.new(first_line: row[:raw].address_line1, second_line: row[:raw].address_line2, city: row[:raw].city.try(:capitalize), state: row[:raw].state, zip_code: row[:raw].postal_code)
        row
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
clienteer-1.7.3 lib/clienteer/digesters/address_creation.rb
clienteer-1.7.2 lib/clienteer/digesters/address_creation.rb
clienteer-1.7.1 lib/clienteer/digesters/address_creation.rb
clienteer-1.7.0 lib/clienteer/digesters/address_creation.rb
clienteer-1.6.0 lib/clienteer/digesters/address_creation.rb
clienteer-1.5.12 lib/clienteer/digesters/address_creation.rb
clienteer-1.5.11 lib/clienteer/digesters/address_creation.rb
clienteer-1.5.10 lib/clienteer/digesters/address_creation.rb