Sha256: 9d7393a346d948af5874c564a5b6897da23010b825c155b068342a3b8eb2e3ec

Contents?: true

Size: 527 Bytes

Versions: 1

Compression:

Stored size: 527 Bytes

Contents

require 'rabl'
require 'grape'
require 'hashie/hash'
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(&block)
        yield(configuration)
        configuration
      end

      def configuration
        @configuration ||= Configuration.new
      end

      def reset_configuration!
        @configuration = nil
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grape-rabl-0.4.1 lib/grape-rabl.rb