Class: SynergyWholesale::DomainRegister::Command
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- SynergyWholesale::DomainRegister::Command
- Defined in:
- lib/synergy_wholesale/operations/domain_register.rb
Instance Method Summary collapse
Instance Method Details
#operation ⇒ Object
28 29 30 |
# File 'lib/synergy_wholesale/operations/domain_register.rb', line 28 def operation :domain_register end |
#to_param ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/synergy_wholesale/operations/domain_register.rb', line 13 def to_param params = { id_protect: id_protect ? 'Y' : '' } 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!(billing_contact.to_param) params.merge!(admin_contact.to_param) params end |