Sha256: 009a41b604d62d648818a4a288212566152a1f93e7cabb7e84a508929f8c5d0c

Contents?: true

Size: 349 Bytes

Versions: 42

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

require 'json'
require 'net/http'
require 'uri'

require_relative 'version'

module Stytch
  class Middleware < ::Faraday::Response::Middleware
    NETWORK_HEADERS = {
      'User-Agent' => "Stytch Ruby v#{Stytch::VERSION}",
      'Content-Type' => 'application/json'
    }.freeze

    NETWORK_TIMEOUT = 300
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
stytch-2.1.0 lib/stytch/middleware.rb
stytch-2.0.0 lib/stytch/middleware.rb