lib/synapse_pay/endpoints/bank_status_endpoint.rb
module SynapsePay
class BankStatusEndpoint < APIEndpoint
def all(params={}, headers={})
method = APIMethod.new(:post, "/bankstatus/show", params, headers, self)
json = @client.execute(method)
APIList.new(:BankStatus, json[:banks], method, @client)
end
end
end