Module: Ksef

Defined in:
lib/ksef.rb,
lib/ksef/errors.rb,
lib/ksef/version.rb,
lib/ksef/environments.rb,
lib/ksef/retry_policy.rb,
lib/ksef/configuration.rb,
lib/ksef/http/connection.rb,
lib/ksef/problem_details.rb,
lib/ksef/http/error_handler.rb,
lib/ksef/http/system_warning.rb

Overview

The error hierarchy from DESIGN.md §6.7, extended with the 403 and 410 branches the API actually returns (docs/REFERENCE.md §7.4).

This file defines many constants and no Ksef::Errors, so Zeitwerk cannot manage it — lib/ksef.rb ignores it and requires it eagerly.

Defined Under Namespace

Modules: Environments, HTTP Classes: ApiError, AuthenticationError, AuthorizationError, Configuration, ConfigurationError, ConnectionError, Error, InvoiceRejectedError, ProblemDetails, RateLimitedError, ResourceGoneError, RetryPolicy, ServerError, SessionError, TimeoutError, ValidationError

Constant Summary collapse

VERSION =
"0.1.0.rc1"

Class Attribute Summary collapse

Class Attribute Details

.loaderObject (readonly)

The gem's Zeitwerk loader. Exposed for loader.eager_load in forking servers.



13
14
15
# File 'lib/ksef.rb', line 13

def loader
  @loader
end