Sha256: 791d13ab3778959085052f9c6f69beb277c5c82e1516284d80512855e466dee8
Contents?: true
Size: 537 Bytes
Versions: 3
Compression:
Stored size: 537 Bytes
Contents
# frozen_string_literal: true require_relative 'data_plane_api/version' require_relative 'data_plane_api/configuration' # Contains code which implements a subset of the # HAProxy Data Plane API. module DataPlaneApi class Error < ::StandardError; end # @return [DataPlaneAPI] CONFIG = Configuration.new(global: true) class << self # @yieldparam config [Configuration] # @return [Configuration] def configure(&block) block.call(CONFIG) CONFIG end end end require_relative 'data_plane_api/server'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
data_plane_api-0.1.2 | lib/data_plane_api.rb |
data_plane_api-0.1.1 | lib/data_plane_api.rb |
data_plane_api-0.1.0 | lib/data_plane_api.rb |