Sha256: c0f8b633736f6e97950e9dbdcda96a0fdabe675c9c1fcb9d47b1564300322a26

Contents?: true

Size: 323 Bytes

Versions: 14

Compression:

Stored size: 323 Bytes

Contents

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

14 entries across 14 versions & 1 rubygems

Version Path
stytch-1.0.0 lib/stytch/middleware.rb
stytch-0.2.1 lib/stytch/middleware.rb
stytch-0.2.0 lib/stytch/middleware.rb
stytch-0.1.21 lib/stytch/middleware.rb
stytch-0.1.20 lib/stytch/middleware.rb
stytch-0.1.19 lib/stytch/middleware.rb
stytch-0.1.18 lib/stytch/middleware.rb
stytch-0.1.17 lib/stytch/middleware.rb
stytch-0.1.16 lib/stytch/middleware.rb
stytch-0.1.15 lib/stytch/middleware.rb
stytch-0.1.14 lib/stytch/middleware.rb
stytch-0.1.13 lib/stytch/middleware.rb
stytch-0.1.12 lib/stytch/middleware.rb
stytch-0.1.10 lib/stytch/middleware.rb