Module: IfdTools::ApiController::ContactRequests

Defined in:
lib/ifd_tools/api_controller/contact_requests.rb

Instance Method Summary collapse

Instance Method Details

#contactObject



4
5
6
7
8
# File 'lib/ifd_tools/api_controller/contact_requests.rb', line 4

def contact
  @contact_request = ContactRequest.new(params[:contact_request])
  @contact_request.customer = current_customer
  @contact_request.save
end