Sha256: fd086896e57b4b2eb5ea5f5a8ac798ce008f7d7424d0522fc68b567ddfe73c13

Contents?: true

Size: 603 Bytes

Versions: 2

Compression:

Stored size: 603 Bytes

Contents

require 'active_support/version'
require 'sparrow/version'
require 'sparrow/configuration'
require 'sparrow/route_parser'
require 'sparrow/request_middleware'
require 'sparrow/response_middleware'
require 'sparrow/strategies/json_format_strategies/rack_body'
require 'sparrow/strategies/json_format_strategies/array_strategy'
require 'sparrow/railtie' if defined?(Rails)

module Sparrow
  class << self
    def configure
      yield configuration
    end

    def configuration
      @configuration ||= Configuration.new
    end

    def reset_configuration
      @configuration = nil
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cp-sparrow-0.0.12 lib/sparrow.rb
cp-sparrow-0.0.11 lib/sparrow.rb