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

Version Path
synapse_pay-0.0.7 lib/synapse_pay/endpoints/bank_mfa_device_endpoint.rb
synapse_pay-0.0.6 lib/synapse_pay/endpoints/bank_mfa_device_endpoint.rb
synapse_pay-0.0.4 lib/synapse_pay/endpoints/bank_mfa_device_endpoint.rb
synapse_pay-0.0.3 lib/synapse_pay/endpoints/bank_mfa_device_endpoint.rb