Class: Newpack::NewpackClient

Inherits:
Object
  • Object
show all
Defined in:
lib/newpack/newpack_client.rb

Overview

newpack client class.

Instance Method Summary collapse

Instance Method Details

#configConfiguration

Returns the configuration class for easy access.

Returns:



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

def config
  Configuration
end

#simple_calculatorSimpleCalculatorController

Singleton access to simple_calculator controller.

Returns:



11
12
13
# File 'lib/newpack/newpack_client.rb', line 11

def simple_calculator
  SimpleCalculatorController.instance
end