Sha256: ac106056977cc7b4c725de6c1aef0588b331959862e46946f6e056768d04399b

Contents?: true

Size: 497 Bytes

Versions: 2

Compression:

Stored size: 497 Bytes

Contents

require 'rabl'
require 'grape'
require 'grape/rabl'
require 'grape-rabl/tilt'
require 'grape-rabl/version'
require 'grape-rabl/formatter'
require 'grape-rabl/render'
require 'grape-rabl/configuration'

module Grape
  module Rabl
    class << self
      def configure
        yield(configuration)
        configuration
      end

      def configuration
        @configuration ||= Configuration.new
      end

      def reset_configuration!
        @configuration = nil
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
grape-rabl-0.5.0 lib/grape-rabl.rb
grape-rabl-0.4.3 lib/grape-rabl.rb