struct Orion::Action
- Orion::Action
- Struct
- Value
- Object
Defined in:
orion/action.crConstructors
Instance Method Summary
- #call(c)
- #constraints : Array(Orion::Constraint)
- #helper : String | Nil
- #invoke(c)
- #matches_constraints?(request : HTTP::Request)
Constructor Detail
def self.new(proc : HTTP::Handler::HandlerProc, *, handlers = [] of ::HTTP::Handler, constraints = [] of Constraint, helper : Nil | String = nil)
#