Class: Fasta::Server::Core::Read

Inherits:
Responder show all
Defined in:
lib/fasta/server/core/read.rb

Direct Known Subclasses

Actions::Index, Actions::Show

Constant Summary

Constants inherited from Responder

Fasta::Server::Core::Responder::DB

Instance Attribute Summary

Attributes inherited from Responder

#headers, #params, #request

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

#callObject



7
8
9
# File 'lib/fasta/server/core/read.rb', line 7

def call
  @body = fetch
end