Module: ActionService::ActionControllerExtension

Included in:
ActionController::Base
Defined in:
lib/active_service/action_controller_extension.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#__active_servicesObject



8
9
10
# File 'lib/active_service/action_controller_extension.rb', line 8

def __active_services
  self.class.service_names
end

#service(name) ⇒ Object



4
5
6
# File 'lib/active_service/action_controller_extension.rb', line 4

def service(name)
  self.class.services[name]
end