Class: Calpack::CalpackClient

Inherits:
Object
  • Object
show all
Defined in:
lib/calpack/calpack_client.rb

Overview

calpack client class.

Instance Method Summary collapse

Instance Method Details

#configConfiguration

Returns the configuration class for easy access.

Returns:



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

def config
  Configuration
end

#simple_calculatorSimpleCalculatorController

Singleton access to simple_calculator controller.

Returns:



11
12
13
# File 'lib/calpack/calpack_client.rb', line 11

def simple_calculator
  SimpleCalculatorController.instance
end