Sha256: 70fed25e437c2371574128f88d2a7e8f82c7944aec1909214b3ddea0a2d746d7
Contents?: true
Size: 455 Bytes
Versions: 4
Compression:
Stored size: 455 Bytes
Contents
# frozen_string_literal: true # PaymentMethod objects represent a payment method of a user. class EasyPost::PaymentMethod < EasyPost::Resource # <b>DEPRECATED:</b> Please use <tt>Billing class</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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
easypost-4.9.0 | lib/easypost/payment_method.rb |
easypost-4.8.1 | lib/easypost/payment_method.rb |
easypost-4.8.0 | lib/easypost/payment_method.rb |
easypost-4.7.1 | lib/easypost/payment_method.rb |