Sha256: d76806a12b7d1e3e4cd130e1b3ff422732c3f6d969f6bde274c25160734bff26
Contents?: true
Size: 801 Bytes
Versions: 1
Compression:
Stored size: 801 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 = WithAttributes.new({}) hash.attributes = attributes hash[:error_type_coded] = error_type_coded if has? 'ErrorTypeCoded' hash[:error_type_other] = error_type_other if has? 'ErrorTypeOther' hash[:error_code] = error_code if has? 'ErrorCode' hash[:error_description] = error_description if has? 'ErrorDescription' hash end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.6.0 | lib/money_s3/parsers/error_info_type.rb |