Sha256: 7d7895cc35733d3571030ebd11bdb867fbaebd266db5c61bfa575839d81923ca

Contents?: true

Size: 412 Bytes

Versions: 27

Compression:

Stored size: 412 Bytes

Contents

module MangoPay

  # See parent class MangoPay::BankingAliases
  class BankingAliasesIBAN < BankingAliases

    def self.create(params, wallet_id, headers_or_idempotency_key = nil)
      url = "#{MangoPay.api_path}/wallets/#{wallet_id}/bankingaliases/iban"
      MangoPay.request(:post, url, params, {}, headers_or_idempotency_key)
    end

    def self.url(id = nil)
      "#{super.url(id)}"
    end

  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
mangopay-3.28.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.27.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.26.1 lib/mangopay/bankingaliases_iban.rb
mangopay-3.26.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.25.1 lib/mangopay/bankingaliases_iban.rb
mangopay-3.25.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.24.1 lib/mangopay/bankingaliases_iban.rb
mangopay-3.24.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.23.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.22.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.21.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.20.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.19.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.18.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.17.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.16.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.15.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.14.0 lib/mangopay/bankingaliases_iban.rb
mangopay-3.13.2 lib/mangopay/bankingaliases_iban.rb
mangopay-3.12.0 lib/mangopay/bankingaliases_iban.rb