Sha256: eb29a2ed39453ef5d45bc664f610824bc8aee78c2f4e048519a394a6d183a616

Contents?: true

Size: 745 Bytes

Versions: 15

Compression:

Stored size: 745 Bytes

Contents

require 'gems/client'
require 'gems/configuration'

module Gems
  extend Configuration
  class << self
    # Alias for Gems::Client.new
    #
    # @return [Gems::Client]
    def new(options = {})
      Gems::Client.new(options)
    end

    # Delegate to Gems::Client
    def method_missing(method, *args, &block)
      return super unless new.respond_to?(method)
      new.send(method, *args, &block)
    end

    def respond_to?(method_name, include_private = false)
      new.respond_to?(method_name, include_private) || super(method_name, include_private)
    end

    def respond_to_missing?(method_name, include_private = false)
      new.respond_to?(method_name, include_private) || super(method_name, include_private)
    end
  end
end

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/gems-1.2.0/lib/gems.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/gems-1.1.1/lib/gems.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/gems-1.1.1/lib/gems.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/gems-1.1.1/lib/gems.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/gems-1.1.1/lib/gems.rb
gems-1.2.0 lib/gems.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/gems-1.1.1/lib/gems.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/gems-1.1.1/lib/gems.rb
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/gems-1.1.1/lib/gems.rb
zuora_connect_ui-0.8.0 vendor/ruby/2.6.0/gems/gems-1.1.1/lib/gems.rb
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/gems-1.1.1/lib/gems.rb
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/gems-1.1.1/lib/gems.rb
gems-1.1.1 lib/gems.rb
gems-1.1.0 lib/gems.rb
gems-1.0.0 lib/gems.rb