Class: Pakyow::Reflection::Builders::Actions Private

Inherits:
Base
  • Object
show all
Includes:
Helpers::Controller
Defined in:
lib/pakyow/reflection/builders/actions.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary

Constants included from Helpers::Controller

Helpers::Controller::RESOURCE_ENDPOINTS

Instance Method Summary collapse

Methods included from Helpers::Controller

#controller_at_path, #controller_closest_to_path, #controller_path, #define_controller_at_path, #define_resource_for_scope_at_path, #ensure_controller_has_helpers, #find_or_define_controller_at_path, #find_or_define_resource_for_scope_at_path, #find_or_define_resource_for_scope_in_resource, #full_resource_path_for_scope_at_path, #resource_for_scope_at_path, #resource_name_for_scope, #resource_namespace_path_for_scope_at_path, #resource_path_for_scope, #resource_source_at_path, #route_name, #route_path, #view_path_directory?, #within_resource?

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Pakyow::Reflection::Builders::Base

Instance Method Details

#build(actions) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



13
14
15
16
17
# File 'lib/pakyow/reflection/builders/actions.rb', line 13

def build(actions)
  actions.each do |action|
    define_action(action)
  end
end