Sha256: 6edce01cf47a7a08a141efa4b94a43b8446b0c4e920052fcb340ce6f5a03d521
Contents?: true
Size: 306 Bytes
Versions: 19
Compression:
Stored size: 306 Bytes
Contents
module Sisow class ErrorResponse attr_accessor :code, :message def initialize(response) @code = response.errorresponse.error.errorcode @message = response.errorresponse.error.errormessage end def message "An error occurred: #{@code}. #{@message}" end end end
Version data entries
19 entries across 19 versions & 1 rubygems