Sha256: 958e3f1fb39dfceceead12eec4b7c0c92dc5471833a9368fceca767c640b520e
Contents?: true
Size: 356 Bytes
Versions: 1
Compression:
Stored size: 356 Bytes
Contents
# frozen_string_literal: true module Kentaa module Api class Exception < StandardError end class RequestError < Kentaa::Api::Exception attr_accessor :response def initialize(response) @response = response super(response.message) end def http_code response.code end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kentaa-api-0.3.0 | lib/kentaa/api/exception.rb |