Sha256: 7f5bd3febe59ac71f0299dc898dcd81ee4430d4d2673e487c96547d8d4c46e17
Contents?: true
Size: 1.25 KB
Versions: 6
Compression:
Stored size: 1.25 KB
Contents
require_relative "../abstract" class Verify_request < MoceanFactory def __init__ client super(client) @required_fields = ['mocean-api-key','mocean-api-secret','mocean-to','mocean-brand'] end def setTo param @params['mocean-to'] = param return self end def setBrand @params['mocean-brand'] = param return self; end def setFrom param @params['mocean-from'] = param return self; end def setTemplate param @params['mocean-template'] = param return self; end def setPinValidate param @params['mocean-pin-validate'] = param return self end def setNextEventWait param @params['mocean-next-event-wait'] = param return self end def setRespFormat param @params['mocean-resp-format'] = param return self end def create params = {} reset super(params) return self end def send createFinalParams isRequiredFieldsSet response = Transmitter.new('/rest/1/otp/req','post',@params) return response.getResponse() end end
Version data entries
6 entries across 6 versions & 1 rubygems