class Cryptopay::ServerError

Public Class Methods

from_response(res) click to toggle source
# File lib/cryptopay/errors.rb, line 22
def self.from_response(res)
  new("Status #{res.status}: #{res.body}")
end