Sha256: 857466ae67d583e25ff6702291f6441137d4b3e01e329727f4747e8e1b094f8f
Contents?: true
Size: 752 Bytes
Versions: 1
Compression:
Stored size: 752 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class ErrorInfoType include BaseParser def error_type_coded at :ErrorTypeCoded end def error_type_other at :ErrorTypeOther end def error_code at :ErrorCode end def error_description at :ErrorDescription end def to_h hash = {} hash[:error_type_coded] = error_type_coded if raw.key? :ErrorTypeCoded hash[:error_type_other] = error_type_other if raw.key? :ErrorTypeOther hash[:error_code] = error_code if raw.key? :ErrorCode hash[:error_description] = error_description if raw.key? :ErrorDescription hash end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.5.0 | lib/money_s3/parsers/error_info_type.rb |