Add EppSession for custom session management

This commit is contained in:
Martin Lensment 2014-06-27 13:39:16 +03:00
parent 3a57126e69
commit e9f23ba348
9 changed files with 92 additions and 2 deletions

View file

@ -8,7 +8,7 @@ module Epp::DomainsHelper
cp = command_params
{
name: cp[:name],
registrar: nil, #well come from current_epp_user
registrar_id: current_epp_user.registrar.try(:id),
registered_at: Time.now,
valid_from: Date.today,
valid_to: Date.today + cp[:period].to_i.years,