Module: ActionFigure::ErrorRegistry::Helpers
- Included in:
- Formatter
- Defined in:
- lib/action_figure/error_registry.rb,
sig/action_figure.rbs
Overview
Live module carrying one generated error helper per registered status. Helpers for user-registered statuses are defined at runtime; the built-in ones are declared explicitly so the signatures stay visible.
Instance Method Summary collapse
- #Conflict ⇒ ActionFigure::response
- #Forbidden ⇒ ActionFigure::response
- #Gone ⇒ ActionFigure::response
- #Locked ⇒ ActionFigure::response
- #NotFound ⇒ ActionFigure::response
- #PaymentRequired ⇒ ActionFigure::response
- #UnavailableForLegalReasons ⇒ ActionFigure::response
- #UnprocessableContent ⇒ ActionFigure::response
Instance Method Details
#Conflict ⇒ ActionFigure::response
71 |
# File 'sig/action_figure.rbs', line 71
def Conflict: (errors: ActionFigure::error_hash) -> ActionFigure::response
|
#Forbidden ⇒ ActionFigure::response
70 |
# File 'sig/action_figure.rbs', line 70
def Forbidden: (errors: ActionFigure::error_hash) -> ActionFigure::response
|
#Gone ⇒ ActionFigure::response
73 |
# File 'sig/action_figure.rbs', line 73
def Gone: (errors: ActionFigure::error_hash) -> ActionFigure::response
|
#Locked ⇒ ActionFigure::response
74 |
# File 'sig/action_figure.rbs', line 74
def Locked: (errors: ActionFigure::error_hash) -> ActionFigure::response
|
#NotFound ⇒ ActionFigure::response
69 |
# File 'sig/action_figure.rbs', line 69
def NotFound: (errors: ActionFigure::error_hash) -> ActionFigure::response
|
#PaymentRequired ⇒ ActionFigure::response
72 |
# File 'sig/action_figure.rbs', line 72
def PaymentRequired: (errors: ActionFigure::error_hash) -> ActionFigure::response
|
#UnavailableForLegalReasons ⇒ ActionFigure::response
75 |
# File 'sig/action_figure.rbs', line 75
def UnavailableForLegalReasons: (errors: ActionFigure::error_hash) -> ActionFigure::response
|
#UnprocessableContent ⇒ ActionFigure::response
68 |
# File 'sig/action_figure.rbs', line 68
def UnprocessableContent: (errors: ActionFigure::error_hash) -> ActionFigure::response
|