Module Core::Interfaces::Controller
In: core/interfaces.rb

The Controller will connect the View with the different ServiceProviders. This interface provides the methods available to be called by both the View and the Providers.

Methods

exec   new   request_service  

Public Class methods

constructor method, it

[Source]

# File core/interfaces.rb, line 96
      def initialize(params)
        raise NotImplementedError
      end

Public Instance methods

The main process uses this call to transfer the execution flow control to the controller.

[Source]

# File core/interfaces.rb, line 108
      def exec()
        raise NoteImplementedError
      end

The view or the providers do request a service from the controller through this function

[Source]

# File core/interfaces.rb, line 102
      def request_service(service_key, *args)
        raise NotImplementedError
      end

[Validate]