Sha256: abb48dd47d3e53f44c0aae642695485c3bc869b2926b63b3821877b92b346017
Contents?: true
Size: 477 Bytes
Versions: 20
Compression:
Stored size: 477 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}.box": @address.box, "#{prefix}.postal": @address.postal, "#{prefix}.city": @address.city, "#{prefix}.country": @address.country } end end end end
Version data entries
20 entries across 20 versions & 1 rubygems