Class: Fasta::Server::Core::Write
- Defined in:
- lib/fasta/server/core/write.rb
Direct Known Subclasses
Actions::Create, Actions::Delete, Actions::Patch, Actions::Put
Constant Summary
Constants inherited from Responder
Instance Attribute Summary
Attributes inherited from Responder
Instance Method Summary collapse
Methods inherited from Responder
#body, call, #db_table, #db_table_name, #initialize, #response_code, #to_rack_array, validate_fields
Constructor Details
This class inherits a constructor from Fasta::Server::Core::Responder
Instance Method Details
#call ⇒ Object
7 8 9 |
# File 'lib/fasta/server/core/write.rb', line 7 def call @body = valid_params? ? success : failure end |