Class: SynergyWholesale::EnableAutoRenewal

Inherits:
Operation
  • Object
show all
Defined in:
lib/synergy_wholesale/operations/enable_auto_renewal.rb

Defined Under Namespace

Classes: Command, Response

Instance Method Summary collapse

Methods inherited from Operation

call

Instance Method Details

#call(domain) ⇒ Object



21
22
23
24
# File 'lib/synergy_wholesale/operations/enable_auto_renewal.rb', line 21

def call(domain)
  command = Command.new(domain)
  api.call(command)
end