Sha256: 588ae0307f3ea58e45e232fff3099efa0f478ce24c1918eefbe4473bf413f702
Contents?: true
Size: 894 Bytes
Versions: 19
Compression:
Stored size: 894 Bytes
Contents
require 'zuora_connect/configuration' require "zuora_connect/engine" require 'zuora_connect/exceptions' require 'zuora_connect/controllers/helpers' require 'zuora_connect/views/helpers' require 'zuora_connect/railtie' module ZuoraConnect class << self attr_accessor :configuration end module Controllers autoload :Helpers, 'zuora_connect/controllers/helpers' end module Views ActionView::Base.send(:include, Helpers) end def self.configuration @configuration ||= Configuration.new end def self.reset @configuration = Configuration.new end def self.configure yield(configuration) ::Apartment.excluded_models << "Delayed::Job" if configuration.delayed_job ::Apartment.excluded_models.concat(configuration.additional_apartment_models) if configuration.additional_apartment_models.class == Array return configuration end end
Version data entries
19 entries across 19 versions & 1 rubygems