Module: Remind101::Client::Connection
- Included in:
- Remind101::Client
- Defined in:
- lib/remind101/client/connection.rb
Instance Method Summary collapse
-
#middleware ⇒ Object
(also: #builder)
Public: The Faraday::Builder instance used for the middleware stack.
Instance Method Details
#middleware ⇒ Object Also known as: builder
Public: The Faraday::Builder instance used for the middleware stack. This can be used to insert a custom middleware.
Examples
# Add the instrumentation middleware for Rails.
client.middleware.use FaradayMiddleware::Instrumentation
Returns the Faraday::Builder for the Faraday connection.
22 23 24 |
# File 'lib/remind101/client/connection.rb', line 22 def middleware connection.builder end |