Class: StripeWrapper::Charge

Inherits:
ApplicationRecord show all
Defined in:
app/models/stripe_wrapper/charge.rb

Class Method Summary collapse

Class Method Details

.build_stripe_charge(stripe_charge) ⇒ Object



6
7
8
# File 'app/models/stripe_wrapper/charge.rb', line 6

def self.build_stripe_charge(stripe_charge)
  return Charge.new(Charge.white_params(stripe_charge))
end