Module: DefraRubyMocks

Defined in:
lib/defra_ruby_mocks.rb,
lib/defra_ruby_mocks/engine.rb,
lib/defra_ruby_mocks/version.rb,
lib/defra_ruby_mocks/configuration.rb,
lib/defra_ruby_mocks/invalid_config_error.rb,
app/services/defra_ruby_mocks/base_service.rb,
lib/defra_ruby_mocks/missing_resource_error.rb,
app/services/defra_ruby_mocks/aws_bucket_service.rb,
app/controllers/defra_ruby_mocks/govpay_controller.rb,
app/controllers/defra_ruby_mocks/company_controller.rb,
app/services/defra_ruby_mocks/companies_house_service.rb,
app/controllers/defra_ruby_mocks/application_controller.rb,
app/services/defra_ruby_mocks/govpay_get_payment_service.rb,
app/services/defra_ruby_mocks/govpay_create_payment_service.rb,
app/services/defra_ruby_mocks/govpay_refund_details_service.rb,
app/services/defra_ruby_mocks/govpay_request_refund_service.rb

Defined Under Namespace

Classes: ApplicationController, AwsBucketService, BaseService, CompaniesHouseService, CompanyController, Configuration, Engine, GovpayController, GovpayCreatePaymentService, GovpayGetPaymentService, GovpayRefundDetailsService, GovpayRequestRefundService, InvalidConfigError, MissingResourceError, NotFoundError

Constant Summary collapse

VERSION =
"5.0.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



12
13
14
# File 'lib/defra_ruby_mocks.rb', line 12

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

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

Yields:



17
18
19
# File 'lib/defra_ruby_mocks.rb', line 17

def self.configure
  yield(configuration)
end