module Shogun::Endpoint

Private Instance Methods

namespace() click to toggle source
# File lib/shogun/endpoint.rb, line 7
        def namespace
  self.class.const_get("NAMESPACE")
end
route(verb:, matcher: nil, control:) click to toggle source
# File lib/shogun/endpoint.rb, line 3
        def route(verb:, matcher: nil, control:)
  Dispatch::Route.new(namespace: namespace, verb: verb, matcher: matcher, control: control)
end