lib/apia/route.rb
# Return the endpoint object for this route
#
# @return [Apia::Endpoint]
Return the endpoint object for this route
Return the endpoint object for this route
def endpoint
      if @endpoint.is_a?(Symbol) && controller
        return controller.definition.endpoints[@endpoint]
      end
      @endpoint
    end
def endpoint if @endpoint . is_a? ( Symbol ) && controller return controller . definition . endpoints [ @endpoint ] end @endpoint end
Return the endpoint object for this route
Return the endpoint object for this route
None
Apia::Endpoint