Sha256: fd40bad82c73954f7557975503e471e9d6a8c0f67b4ae4f2eda03a0afdd78289
Contents?: true
Size: 244 Bytes
Versions: 53
Compression:
Stored size: 244 Bytes
Contents
class Ey::Core::TokenAuthentication < Faraday::Response::Middleware attr_reader :token def initialize(app, token) super(app) @token = token end def call(env) env[:request_headers]["X-EY-TOKEN"] = token super end end
Version data entries
53 entries across 53 versions & 3 rubygems