Sha256: 2630d16fc3639c61cd96af6e489c81aedbb32ec2c660ff413f45055be4a68d0b
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 Bytes
Contents
class StripeBankAccount < StripeModelCallbacks::ApplicationRecord def self.stripe_class Stripe::BankAccount end def assign_from_stripe(object) assign_attributes(stripe_account_id: object.account) StripeModelCallbacks::AttributesAssignerService.execute!( model: self, stripe_model: object, attributes: %w[ id account_holder_name account_holder_type bank_name country currency default_for_currency fingerprint last4 metadata routing_number status ] ) end end
Version data entries
3 entries across 3 versions & 1 rubygems