class Fakturownia::APIException

Attributes

body[R]
code[R]

Public Class Methods

new(body, code) click to toggle source
# File lib/fakturownia/errors.rb, line 5
def initialize(body, code)
  @code = code
  @body = body
end

Public Instance Methods

inspect() click to toggle source
# File lib/fakturownia/errors.rb, line 10
def inspect
  [code, body].join(" - ")
end