Sha256: 105ae8d350acb234152829ab29c1739bc589a8c7c85b9fcd5845975ab71a55a8
Contents?: true
Size: 311 Bytes
Versions: 144
Compression:
Stored size: 311 Bytes
Contents
module Scrivito class CommunicationError < StandardError attr_reader :http_code, :message def initialize(message, http_code) @http_code = http_code.to_i @message = message end def to_s "HTTP-Response-Code: #{self.http_code}, Body: \"#{self.message}\"" end end end
Version data entries
144 entries across 144 versions & 1 rubygems