Sha256: 0d54fb43f20fe884e11f62aff5d2d0fcd9b807f79c11248ed4ddd2026085b401
Contents?: true
Size: 451 Bytes
Versions: 4
Compression:
Stored size: 451 Bytes
Contents
module SynapsePay class BankMfaDeviceEndpoint < APIEndpoint def answer(access_token, bank, mfa, params={}, headers={}) params = ParamsBuilder.merge({ :access_token => access_token, :bank => bank, :mfa => mfa, }, params) method = APIMethod.new(:post, "/bank/mfa", params, headers, self) json = @client.execute(method) APIList.new(:Bank, json[:banks], method, @client) end end end
Version data entries
4 entries across 4 versions & 1 rubygems