module Github::Connection
def stack(options={}, &block)
addition of new extensions such as cache adapter.
Exposes middleware builder to facilitate custom stacks and easy
def stack(options={}, &block) @stack ||= begin if block_given? Faraday::Builder.new(&block) else Faraday::Builder.new(&default_middleware(options)) end end end