Sha256: dd911b6db1a50fa69491b1c0a8c8019a5d6818a88b9940bb700ec713a07b6822

Contents?: true

Size: 640 Bytes

Versions: 10

Compression:

Stored size: 640 Bytes

Contents

# frozen_string_literal: true

require 'raven'

require 'oj'
require 'multi_json'
require 'fast_jsonapi'

require 'kaminari'

require_relative 'eivo-rails-api/engine'
require_relative 'eivo-rails-api/formatter'

module EIVO
  class << self
    def configure(application)
      application.config.load_defaults 6.0
      application.config.api_only = true

      application.config.require_master_key = true

      application.config.generators do |g|
        g.orm :active_record, primary_key_type: :uuid
      end

      require_relative "eivo-rails-api/environments/#{Rails.env}"
      EIVO::Environment.send(Rails.env)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
eivo-rails-api-0.1.14 lib/eivo-rails-api.rb
eivo-rails-api-0.1.13 lib/eivo-rails-api.rb
eivo-rails-api-0.1.12 lib/eivo-rails-api.rb
eivo-rails-api-0.1.11 lib/eivo-rails-api.rb
eivo-rails-api-0.1.10 lib/eivo-rails-api.rb
eivo-rails-api-0.1.9 lib/eivo-rails-api.rb
eivo-rails-api-0.1.8 lib/eivo-rails-api.rb
eivo-rails-api-0.1.7 lib/eivo-rails-api.rb
eivo-rails-api-0.1.6 lib/eivo-rails-api.rb
eivo-rails-api-0.1.5 lib/eivo-rails-api.rb