Class: Trailblazer::Endpoint::Protocol

Inherits:
Activity::Railway
  • Object
show all
Defined in:
lib/trailblazer/endpoint/protocol.rb,
lib/trailblazer/endpoint/protocol/cipher.rb,
lib/trailblazer/endpoint/protocol/controller.rb,
lib/trailblazer/endpoint/protocol/find_process_model.rb

Overview

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

Direct Known Subclasses

Standard

Defined Under Namespace

Modules: Bridge, Controller, Domain Classes: FindProcessModel, Noop, Standard

Class Method Summary collapse

Class Method Details

._Path(semantic:, &block) ⇒ Object

DISCUSS: the problem with Path currently is github.com/trailblazer/trailblazer-activity-dsl-linear/issues/27



21
22
23
# 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