Sha256: cf026fb1b8f0b92daeb0954d10db7d6fcdab148f0bf6f74599287ceca8949bd9
Contents?: true
Size: 570 Bytes
Versions: 2
Compression:
Stored size: 570 Bytes
Contents
# frozen_string_literal: true require_relative "sdk/version" require_relative "sdk/api" module OpenFeature # TODO: Add documentation # module SDK class << self def method_missing(method_name, *args, **kwargs, &block) if API.instance.respond_to?(method_name) API.instance.send(method_name, *args, **kwargs, &block) else super end end def respond_to_missing?(method_name, include_private = false) API.instance.respond_to?(method_name, include_private) || super end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openfeature-sdk-0.1.1 | lib/openfeature/sdk.rb |
openfeature-sdk-0.1.0 | lib/openfeature/sdk.rb |