Sha256: d900edde2acf745ec84baf577e867c0a9aecb6f89e323bc581143100aca5bca6
Contents?: true
Size: 396 Bytes
Versions: 7
Compression:
Stored size: 396 Bytes
Contents
require File.join(File.dirname(__FILE__), 'blockscore_error') module BlockScore class InternalServerError < BlockscoreError @@http_status = 500 def initialize(message=nil, json_body=nil, error_type=nil) super(message, json_body, @@http_status, error_type) @message = message end def to_s "Status: #{@@http_status}, Message: #{@message}" end end end
Version data entries
7 entries across 7 versions & 1 rubygems