Sha256: 969389e9e1b1b49173221d0d76390fca616771884f7d7e9c7ed8a0562d9e18e8

Contents?: true

Size: 606 Bytes

Versions: 2

Compression:

Stored size: 606 Bytes

Contents

# frozen_string_literal: true

require 'jbuilder'
require 'adequate_json/resolver'
require 'adequate_json/jsonizer'
require 'adequate_json/base'
require 'adequate_json/error'
require 'adequate_json/hash'
require 'adequate_json/collection'
require 'adequate_json/configuration'
require 'adequate_json/serializer'
require 'adequate_json/version'

module AdequateJson
  class << self
    def configure
      yield ConfigurationBuilder.new(configuration)
    end

    def configuration
      @configuration ||= Configuration.new
    end
  end
end

require 'adequate_json/railtie' if defined?(::Rails::Railtie)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adequate_json-0.2.0 lib/adequate_json.rb
adequate_json-0.1.0 lib/adequate_json.rb