Class: DefraRubyMocks::WorldpayResponseService

Inherits:
BaseService
  • Object
show all
Defined in:
app/services/defra_ruby_mocks/worldpay_response_service.rb

Instance Method Summary collapse

Methods inherited from BaseService

run

Instance Method Details

#run(success_url) ⇒ Object



6
7
8
9
10
11
12
# File 'app/services/defra_ruby_mocks/worldpay_response_service.rb', line 6

def run(success_url)
  parse_reference(success_url)
  locate_registration
  @order = last_order

  response_url(success_url)
end