Sha256: c6927e47279131cbeecc5a2b2d7dcea49daaacc7e98e0975d51e46174c465821
Contents?: true
Size: 233 Bytes
Versions: 2
Compression:
Stored size: 233 Bytes
Contents
module Paid class APIError < PaidError def self.generic(rcode, rbody) self.new("Invalid response object from API: #{rbody.inspect} " + "(HTTP response code was #{rcode})", rcode, rbody) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
paid-1.0.1 | lib/paid/errors/api_error.rb |
paid-1.0.0 | lib/paid/errors/api_error.rb |