Class: Logistics::Core::DocumentTypeOriginsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/logistics/core/document_type_origins_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
7
8
# File 'app/controllers/logistics/core/document_type_origins_controller.rb', line 4

def index
  document_type_origins = DocumentTypeOrigin.all
  response = Mks::Common::MethodResponse.new(true, nil, document_type_origins, nil, nil)
  render json: response
end