class Trailblazer::Endpoint::Protocol

Termini and their “pendants” in HTTP, which is unrelated to protocol!! Protocol is application-focused and doesn't know about HTTP.

failure: 411
success: 200
not_found: 404
not_authenticated: 401
not_authorized: 403

Public Class Methods

_Path(semantic:, &block) click to toggle source
# File lib/trailblazer/endpoint/protocol.rb, line 21
def self._Path(semantic:, &block) # DISCUSS: the problem with Path currently is https://github.com/trailblazer/trailblazer-activity-dsl-linear/issues/27
  Path(track_color: semantic, end_id: "End.#{semantic}", end_task: Activity::End.new(semantic: semantic), &block)
end