Method: Praxis::ActionDefinition#response
- Defined in:
- lib/praxis/action_definition.rb
#response(name, **args) ⇒ Object
57 58 59 60 |
# File 'lib/praxis/action_definition.rb', line 57 def response( name, **args ) template = ApiDefinition.instance.response(name) @responses[name] = template.compile(self, **args) end |