Sha256: e9fcf890e8077389c88f7a0797069578a5c213aead1923d39f7f4720b4503540

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

require 'rack'
require 'rack/builder'

module Grape
  autoload :API,             'grape/api'
  autoload :Endpoint,        'grape/endpoint'
  autoload :MiddlewareStack, 'grape/middleware_stack'
  autoload :Client,          'grape/client'
  autoload :Route,           'grape/route'
  autoload :Entity,          'grape/entity'
  autoload :Cookies,         'grape/cookies'

  module Middleware
    autoload :Base,      'grape/middleware/base'
    autoload :Prefixer,  'grape/middleware/prefixer'
    autoload :Versioner, 'grape/middleware/versioner'
    autoload :Formatter, 'grape/middleware/formatter'
    autoload :Error,     'grape/middleware/error'

    module Auth
      autoload :OAuth2, 'grape/middleware/auth/oauth2'
      autoload :Basic,  'grape/middleware/auth/basic'
      autoload :Digest,	'grape/middleware/auth/digest'
    end

    module Versioner
      autoload :Path,   'grape/middleware/versioner/path'
      autoload :Header, 'grape/middleware/versioner/header'
      autoload :Param,  'grape/middleware/versioner/param'
    end
  end

  module Util
    autoload :HashStack, 'grape/util/hash_stack'
  end
end

require 'grape/version'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
grape-0.2.1.1 lib/grape.rb
grape-0.2.1 lib/grape.rb