Sha256: 80266faf542ea5ffa4efa951fe8b900a26696b90816d4a6f74755c393a6f9671

Contents?: true

Size: 854 Bytes

Versions: 6

Compression:

Stored size: 854 Bytes

Contents

# frozen_string_literal: true

require 'ostruct'
require 'stepped_service'

require 'czech_post_b2b_client/version'
require 'czech_post_b2b_client/configuration'

require 'czech_post_b2b_client/b2b_errors'
require 'czech_post_b2b_client/response_codes'
require 'czech_post_b2b_client/printing_templates'
require 'czech_post_b2b_client/post_services'

require 'czech_post_b2b_client/request_builders'
require 'czech_post_b2b_client/response_parsers'
require 'czech_post_b2b_client/services'

module CzechPostB2bClient
  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield(configuration)
  end

  def self.logger
    self.configuration.logger
  end

  def self.root
    File.dirname __dir__
  end

  def self.certs_path
    File.join(CzechPostB2bClient.root, 'certs')
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
czech_post_b2b_client-1.2.3 lib/czech_post_b2b_client.rb
czech_post_b2b_client-1.2.2 lib/czech_post_b2b_client.rb
czech_post_b2b_client-1.2.1 lib/czech_post_b2b_client.rb
czech_post_b2b_client-1.1.0 lib/czech_post_b2b_client.rb
czech_post_b2b_client-1.0.3 lib/czech_post_b2b_client.rb
czech_post_b2b_client-1.0.2 lib/czech_post_b2b_client.rb