Class: SynapsePay::BankStatusEndpoint
- Inherits:
-
APIEndpoint
- Object
- APIEndpoint
- SynapsePay::BankStatusEndpoint
- Defined in:
- lib/synapse_pay/endpoints/bank_status_endpoint.rb
Instance Attribute Summary
Attributes inherited from APIEndpoint
Instance Method Summary collapse
Methods inherited from APIEndpoint
Constructor Details
This class inherits a constructor from SynapsePay::APIEndpoint
Instance Method Details
#all(params = {}, headers = {}) ⇒ Object
4 5 6 7 8 |
# File 'lib/synapse_pay/endpoints/bank_status_endpoint.rb', line 4 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 |