Sha256: 1e90e0373c2c42624b12499df48c8370ba699c4b2e6d5c75410d67b724480eaa
Contents?: true
Size: 436 Bytes
Versions: 52
Compression:
Stored size: 436 Bytes
Contents
module Udongo module EmailVars class Address def initialize(address) @address = address end def to_hash(prefix: 'address') { "#{prefix}.street": @address.street, "#{prefix}.number": @address.number, "#{prefix}.postal": @address.postal, "#{prefix}.city": @address.city, "#{prefix}.country": @address.country } end end end end
Version data entries
52 entries across 52 versions & 1 rubygems