Sha256: 5cc1a7ffdff4053fc0fd3a254df8ebbf8c4dca757fd3b086e41f4d3e3755169d

Contents?: true

Size: 338 Bytes

Versions: 5

Compression:

Stored size: 338 Bytes

Contents

# frozen_string_literal: true

%w[grape logger].each do |file_name|
  require file_name
end

%w[version extensions/throttle_extension].each do |file_name|
  require "grape-throttler/#{file_name}"
end

module GrapeThrottler
  module Middleware

    autoload :ThrottleMiddleware, 'grape-throttler/middleware/throttle_middleware'

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
grape-throttler-1.2.0 lib/grape-throttler.rb
grape-throttler-1.1.1 lib/grape-throttler.rb
grape-throttler-1.1.0 lib/grape-throttler.rb
grape-throttler-1.0.1 lib/grape-throttler.rb
grape-throttler-1.0.0 lib/grape-throttler.rb