Class: SynergyWholesale::DomainRegisterAu::Command

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/synergy_wholesale/operations/domain_register_au.rb

Instance Method Summary collapse

Instance Method Details

#operationObject



23
24
25
# File 'lib/synergy_wholesale/operations/domain_register_au.rb', line 23

def operation
  :domain_register_au
end

#to_paramObject



11
12
13
14
15
16
17
18
19
20
21
# File 'lib/synergy_wholesale/operations/domain_register_au.rb', line 11

def to_param
  params = {}
  params.merge!(domain.to_param)
  params.merge!(years.to_param)
  params.merge!(name_servers.to_param)
  params.merge!(registrant_contact.to_param)
  params.merge!(technical_contact.to_param)
  params.merge!(registrant.to_param)

  params
end