Sha256: 0c6ede705ab58cba9d371d48daf69a598e25c68cbcd4c65ea2cc9a9a58b84ec5
Contents?: true
Size: 430 Bytes
Versions: 30
Compression:
Stored size: 430 Bytes
Contents
require "faraday/response" module ZendeskAPI module Middleware module Response # @private class Callback < Faraday::Response::Middleware def initialize(app, client) super(app) @client = client end def call(env) @app.call(env).on_complete do |env| @client.callbacks.each { |c| c.call(env) } end end end end end end
Version data entries
30 entries across 30 versions & 2 rubygems