Sha256: 494d935b38892921183dd3d2d5e1f79682f03067241508d19947fa70603612b7

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

require 'stitches/api_key'
require 'stitches/valid_mime_type'
require 'stitches/api_client_access_wrapper'

module Stitches
  class Railtie < Rails::Railtie
    config.app_middleware.use Stitches::ApiKey
    config.app_middleware.use Stitches::ValidMimeType
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stitches-5.0.0 lib/stitches/railtie.rb
stitches-5.0.0.RC1 lib/stitches/railtie.rb