Sha256: 8e4aea29426b1989f589e84240407302385686c2336d6a0bb3bca37369535304
Contents?: true
Size: 537 Bytes
Versions: 5
Compression:
Stored size: 537 Bytes
Contents
# frozen_string_literal: true # PaymentMethod objects represent a payment method of a user. class EasyPost::PaymentMethod < EasyPost::Resource # List all payment methods associated with the current user. # <b>DEPRECATED:</b> Please use <tt>Billing.retrieve_payment_methods</tt> instead. # Deprecated: v4.5.0 - v6.0.0 def self.all(_filters = {}, api_key = nil) warn '[DEPRECATION] `all` is deprecated. Please use `Billing.retrieve_payment_methods` instead.' EasyPost::Billing.retrieve_payment_methods(api_key) end end
Version data entries
5 entries across 5 versions & 1 rubygems