Sha256: 12115806fa81604ec5c9e77091bb4a01f9409f4ca548453688815ac066c5eb7b
Contents?: true
Size: 858 Bytes
Versions: 2
Compression:
Stored size: 858 Bytes
Contents
require_relative "../abstract" class Verify_validate < MoceanFactory def __init__ client super(client) @required_fields = ['mocean-api-key','mocean-api-secret','mocean-reqid','mocean-otp-code'] end def setReqid param @params['mocean-reqid'] = param return self end def setCode param @params['mocean-code'] = param return self end def setRespFormat param @params['mocean-resp-format'] = param return self end def create params = {} reset super(param) return self end def send createFinalParams isRequiredFieldsSet response = Transmitter.new('/rest/1/verify/check','post',@params) return response.getResponse() end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
moceansdk-0.1.5 | lib/moceansdk/modules/message/verify_validate.rb |
moceansdk-0.1.4 | lib/moceansdk/modules/message/verify_validate.rb |