Method: Github.default_middleware

Defined in:
lib/github_api2.rb

.default_middleware(options = {}) ⇒ Proc

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Default middleware stack that uses default adapter as specified by configuration setup

Returns:

  • (Proc)


60
61
62
# File 'lib/github_api2.rb', line 60

def default_middleware(options = {})
  Middleware.default(options)
end