Sha256: 8c39abc8ac8a85bae2120933c2000ff352a80f41e6fa0063fffa73489192cd1c
Contents?: true
Size: 459 Bytes
Versions: 3
Compression:
Stored size: 459 Bytes
Contents
module SolidusAvataxCertified module Response class Base attr_accessor :result # To Do # 1. Create way to display errors cleanly def initialize(result) @result = result end def success? result['ResultCode'] == 'Success' end def error? !success? rescue true end def description raise 'Method needs to be implemented in subclass.' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems