Class: SynergyWholesale::DisableAutoRenewal::Command

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

Instance Method Summary collapse

Instance Method Details

#operationObject



10
11
12
# File 'lib/synergy_wholesale/operations/disable_auto_renewal.rb', line 10

def operation
  :disable_auto_renewal
end

#to_paramObject



6
7
8
# File 'lib/synergy_wholesale/operations/disable_auto_renewal.rb', line 6

def to_param
  domain.to_param
end