Module: Paya::Certification

Defined in:
lib/paya/certification.rb,
lib/paya/certification/ccd.rb,
lib/paya/certification/ppd.rb,
lib/paya/certification/tel.rb,
lib/paya/certification/web.rb

Defined Under Namespace

Classes: Ccd, Ppd, Tel, Web

Class Method Summary collapse

Class Method Details

.requestObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/paya/certification.rb', line 5

def request
  response = {}
  ppd_certification = Paya::Certification::Ppd.new
  response[:ppd] = ppd_certification.script

  ccd_certification = Paya::Certification::Ccd.new
  response[:ccd] = ccd_certification.script

  web_certification = Paya::Certification::Web.new
  response[:web] = web_certification.script

  tel_certification = Paya::Certification::Tel.new
  response[:tel] = tel_certification.script
  response
end