Sha256: c9f9f4552466f5dc93e91dfa98bd42bcb4e841d7891238b85b5f57704b123bf6

Contents?: true

Size: 457 Bytes

Versions: 2

Compression:

Stored size: 457 Bytes

Contents

# frozen_string_literal: true

require "faraday"
require "oj"
require "zeitwerk"
require "json_schemer"
require "memery"

loader = Zeitwerk::Loader.for_gem

loader.inflector.inflect(
  "http" => "HTTP",
  "api" => "API"
)

module Zilla
  class Error < StandardError; end

  def self.for(input, host: nil, scheme: nil, faraday_config: {}, &)
    Zilla::ClientFactory.build(input, host:, scheme:, faraday_config:, &)
  end
end

loader.setup
loader.eager_load

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zilla-0.1.5 lib/zilla.rb
zilla-0.1.4 lib/zilla.rb