Sha256: daef029b6fe548d0d25b801794bd8cae22744be80281cac3428a62758a232594

Contents?: true

Size: 261 Bytes

Versions: 7

Compression:

Stored size: 261 Bytes

Contents

FactoryBot.define do
  factory :stripe_charge do
    sequence(:stripe_id) { |n| "stripe-charge-#{n}" }
    amount { Money.new(100, "USD") }
    captured { false }
    currency { "usd" }
    livemode { false }
    paid { false }
    refunded { 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_charges.rb
stripe_model_callbacks-0.1.6 lib/stripe_model_callbacks/factories/stripe_charges.rb
stripe_model_callbacks-0.1.5 lib/stripe_model_callbacks/factories/stripe_charges.rb
stripe_model_callbacks-0.1.4 lib/stripe_model_callbacks/factories/stripe_charges.rb
stripe_model_callbacks-0.1.3 lib/stripe_model_callbacks/factories/stripe_charges.rb
stripe_model_callbacks-0.1.2 lib/stripe_model_callbacks/factories/stripe_charges.rb
stripe_model_callbacks-0.1.1 lib/stripe_model_callbacks/factories/stripe_charges.rb