Sha256: 4f01d081449b5b2d5f686fb185c15eff233d32ed033125858633e5cca52f046c

Contents?: true

Size: 1.3 KB

Versions: 6

Compression:

Stored size: 1.3 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'
  autoload :Validations,     'grape/validations'

  module Exceptions
    autoload :Base, 'grape/exceptions/base'
  end
  autoload :ValidationError, 'grape/exceptions/validation_error'

  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

6 entries across 6 versions & 2 rubygems

Version Path
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/lib/grape.rb
fragrant-0.0.4 vendor/grape/lib/grape.rb
grape-0.2.2 lib/grape.rb
fragrant-0.0.3 vendor/grape/lib/grape.rb
fragrant-0.0.2 vendor/grape/lib/grape.rb
fragrant-0.0.1 vendor/grape/lib/grape.rb