Basic domain check command implementation

This commit is contained in:
Martin Lensment 2014-06-27 17:46:03 +03:00
parent f8757891ef
commit cd52da3f8f
8 changed files with 49 additions and 9 deletions

View file

@ -12,4 +12,9 @@ class Epp::CommandsController < ApplicationController
type = OBJECT_TYPES[parsed_frame.css('create create').attr('schemaLocation').value]
send("create_#{type}")
end
def check
type = OBJECT_TYPES[parsed_frame.css('check check').attr('schemaLocation').value]
send("check_#{type}")
end
end