module Pakyow::Application::Behavior::Endpoints

Attributes

endpoints[R]

Instance of {Endpoints} for path building.

Public Class Methods

new(*) click to toggle source
Calls superclass method
# File lib/pakyow/application/behavior/endpoints.rb, line 20
def initialize(*)
  @endpoints = ::Pakyow::Endpoints.new

  super
end

Private Instance Methods

load_endpoints() click to toggle source
# File lib/pakyow/application/behavior/endpoints.rb, line 33
def load_endpoints
  state.values.each do |state_object|
    state_object.instances.each do |state_instance|
      @endpoints.load(state_instance)
    end
  end
end