Sha256: 033a6f561db0235d09e726eb8721915b0a5851c918239b0a65be006a44a17039
Contents?: true
Size: 779 Bytes
Versions: 3
Compression:
Stored size: 779 Bytes
Contents
module Moceansdk module Modules module Message class VerifyValidate < Moceansdk::Modules::AbstractClient def initialize(obj_auth, transmitter) super(obj_auth, transmitter) @required_fields = ['mocean-api-key', 'mocean-api-secret', 'mocean-reqid', 'mocean-code'] end def reqid=(param) @params['mocean-reqid'] = param end def code=(param) @params['mocean-code'] = param end def resp_format=(param) @params['mocean-resp-format'] = param end def send(params = {}) create(params) create_final_params required_field_set? @transmitter.post('/verify/check', @params) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems