Sha256: facd0f09a6732c2bd39ee457401ef453d21b72ca80b1a998628fb7aa7a48f8d3

Contents?: true

Size: 215 Bytes

Versions: 7

Compression:

Stored size: 215 Bytes

Contents

FactoryBot.define do
  factory :stripe_refund do
    sequence(:stripe_id) { |n| "stripe-refund-#{n}" }
    stripe_charge
    currency { "usd" }
    amount { Money.new(1000, "USD") }
    livemode { false }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stripe_model_callbacks-0.1.7 lib/stripe_model_callbacks/factories/stripe_refunds.rb
stripe_model_callbacks-0.1.6 lib/stripe_model_callbacks/factories/stripe_refunds.rb
stripe_model_callbacks-0.1.5 lib/stripe_model_callbacks/factories/stripe_refunds.rb
stripe_model_callbacks-0.1.4 lib/stripe_model_callbacks/factories/stripe_refunds.rb
stripe_model_callbacks-0.1.3 lib/stripe_model_callbacks/factories/stripe_refunds.rb
stripe_model_callbacks-0.1.2 lib/stripe_model_callbacks/factories/stripe_refunds.rb
stripe_model_callbacks-0.1.1 lib/stripe_model_callbacks/factories/stripe_refunds.rb