Sha256: 897e6e21e7f37cc175bdc2a54d5977fdd4249e4ac02de7418da4c0d6122978f0

Contents?: true

Size: 296 Bytes

Versions: 6

Compression:

Stored size: 296 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
synapse_pay-0.0.8 lib/synapse_pay/endpoints/bank_status_endpoint.rb
synapse_pay-0.0.7 lib/synapse_pay/endpoints/bank_status_endpoint.rb
synapse_pay-0.0.6 lib/synapse_pay/endpoints/bank_status_endpoint.rb
synapse_pay-0.0.4 lib/synapse_pay/endpoints/bank_status_endpoint.rb
synapse_pay-0.0.3 lib/synapse_pay/endpoints/bank_status_endpoint.rb
synapse_pay-0.0.1 lib/synapse_pay/endpoints/bank_status_endpoint.rb