Sha256: e9e71721b3255a9039bdaa41a3652915f73d63059b712fe04b9de9198f41f1f6
Contents?: true
Size: 500 Bytes
Versions: 27
Compression:
Stored size: 500 Bytes
Contents
module Ridley # @author Jamie Winsor <jamie@vialstudios.com> module Middleware CONTENT_TYPE = 'content-type'.freeze require 'ridley/middleware/parse_json' require 'ridley/middleware/chef_response' require 'ridley/middleware/chef_auth' Faraday.register_middleware :request, chef_auth: -> { ChefAuth } Faraday.register_middleware :response, json: -> { ParseJson } Faraday.register_middleware :response, chef_response: -> { ChefResponse } end end
Version data entries
27 entries across 27 versions & 1 rubygems