Class: CalculatorPackage::CalculatorPackageClient

Inherits:
Object
  • Object
show all
Defined in:
lib/calculator_package/calculator_package_client.rb

Overview

calculator_package client class.

Instance Method Summary collapse

Instance Method Details

#configConfiguration

Returns the configuration class for easy access.

Returns:



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

def config
  Configuration
end

#simple_calculatorSimpleCalculatorController

Singleton access to simple_calculator controller.

Returns:



11
12
13
# File 'lib/calculator_package/calculator_package_client.rb', line 11

def simple_calculator
  SimpleCalculatorController.instance
end