Class: Logistics::Core::CustomsOfficesController

Inherits:
ApplicationController show all
Includes:
ControllerCommon
Defined in:
app/controllers/logistics/core/customs_offices_controller.rb

Instance Method Summary collapse

Methods included from ControllerCommon

#create, #update

Instance Method Details

#indexObject



8
9
10
11
12
# File 'app/controllers/logistics/core/customs_offices_controller.rb', line 8

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