Class: Pakyow::Reflection::Builders::Endpoints Private

Inherits:
Base
  • Object
show all
Includes:
Helpers::Controller
Defined in:
lib/pakyow/reflection/builders/endpoints.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(endpoints) ⇒ 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.



18
19
20
21
22
# File 'lib/pakyow/reflection/builders/endpoints.rb', line 18

def build(endpoints)
  endpoints.each do |endpoint|
    define_endpoint(endpoint)
  end
end