class MacaroonInterceptor

Attributes

macaroon[R]

Public Class Methods

new(macaroon) click to toggle source
Calls superclass method
# File vendor/macaroon_interceptor.rb, line 4
def initialize(macaroon)
  @macaroon = macaroon
  super
end

Public Instance Methods

request_response(request:, call:, method:, metadata:) { || ... } click to toggle source
# File vendor/macaroon_interceptor.rb, line 9
def request_response(request:, call:, method:, metadata:)
  metadata['macaroon'] = macaroon
  yield
end
server_streamer(request:, call:, method:, metadata:) { || ... } click to toggle source
# File vendor/macaroon_interceptor.rb, line 14
def server_streamer(request:, call:, method:, metadata:)
  metadata['macaroon'] = macaroon
  yield
end