Class: Rakuna::Resource::Action
- Includes:
- Contracts
- Defined in:
- lib/rakuna/resource/action.rb
Overview
Action Resources perform tasks. They return no content, and only respond to POST.
Instance Method Summary collapse
Methods included from Provides::Output
#content_types_provided, #output, #output_method
Methods included from Accepts::Input
Instance Method Details
#allowed_methods ⇒ Object
12 13 14 |
# File 'lib/rakuna/resource/action.rb', line 12 def allowed_methods %w(POST) end |
#process_post ⇒ Object
17 18 19 |
# File 'lib/rakuna/resource/action.rb', line 17 def process_post execute end |