Module: ZuoraConnect

Defined in:
lib/zuora_connect.rb,
lib/zuora_connect/engine.rb,
lib/zuora_connect/railtie.rb,
lib/zuora_connect/version.rb,
lib/zuora_connect/exceptions.rb,
app/models/zuora_connect/login.rb,
lib/zuora_connect/configuration.rb,
lib/zuora_connect/views/helpers.rb,
app/models/zuora_connect/app_instance.rb,
lib/zuora_connect/controllers/helpers.rb,
app/models/zuora_connect/app_instance_base.rb,
app/helpers/zuora_connect/application_helper.rb,
app/controllers/zuora_connect/static_controller.rb,
app/controllers/zuora_connect/application_controller.rb,
app/helpers/zuora_connect/api/v1/app_instance_helper.rb,
app/controllers/zuora_connect/admin/tenant_controller.rb,
app/controllers/zuora_connect/api/v1/app_instance_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, Controllers, Exceptions, Views Classes: AppInstance, AppInstanceBase, ApplicationController, Configuration, Engine, Login, Railtie, StaticController

Constant Summary collapse

VERSION =
"1.6.10"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



13
14
15
# File 'lib/zuora_connect.rb', line 13

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



31
32
33
34
35
36
37
# File 'lib/zuora_connect.rb', line 31

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

.resetObject



27
28
29
# File 'lib/zuora_connect.rb', line 27

def self.reset
  @configuration = Configuration.new
end