Sha256: fcefea9763efd5f3f6c99dcec6a4c367d2865f885716c5b5a40ebda4e1ec44c4
Contents?: true
Size: 453 Bytes
Versions: 1
Compression:
Stored size: 453 Bytes
Contents
require "base64" module Nordea module FileTransfer module Attributes class EncodedBase64String < Virtus::Attribute::Object primitive String def coerce(value) value && Base64.encode64(value).chomp end end class DecodedBase64String < Virtus::Attribute::Object primitive String def coerce(value) value && Base64.decode64(value) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nordea-filetransfer-0.2.1 | lib/nordea/file_transfer/attributes.rb |