mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Add error structuring to Grape API
This commit is contained in:
parent
01004b8ed4
commit
dc8551807a
3 changed files with 31 additions and 9 deletions
|
@ -24,7 +24,6 @@ module Epp
|
|||
|
||||
@contact = Epp::Contact.new(params[:parsed_frame], current_user.registrar)
|
||||
collected_data = ::Deserializers::Xml::ContactCreate.new(params[:parsed_frame])
|
||||
|
||||
action = Actions::ContactCreate.new(@contact, collected_data.legal_document, collected_data.ident)
|
||||
|
||||
if action.call
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue