Sha256: c48cb225d61605b4faccc178f7c5bd080c6443e574877d84c12bff5caf1fb987
Contents?: true
Size: 420 Bytes
Versions: 24
Compression:
Stored size: 420 Bytes
Contents
module ThreeScale class Response def success! @error_code = nil @error_message = nil end def error!(message, code = nil) @error_code = code @error_message = message end def success? @error_code.nil? && @error_message.nil? end # System error code. attr_reader :error_code # Human readable error message. attr_reader :error_message end end
Version data entries
24 entries across 24 versions & 1 rubygems