Sha256: e750ba350be331a94405d30223c9c34ef7627e60ea42e33b549f322378f235b3

Contents?: true

Size: 235 Bytes

Versions: 6

Compression:

Stored size: 235 Bytes

Contents

class AddPaymentMethodForChannable < ActiveRecord::Migration[5.0]
  def change

    Spree::PaymentMethod.find_or_create_by(name: 'Paid at channable', display_on: :back_end, type: 'Spree::PaymentMethod::Check', active: true)

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_channable-0.0.24 db/migrate/20190711140015_add_payment_method_for_channable.rb
spree_channable-0.0.23 db/migrate/20190711140015_add_payment_method_for_channable.rb
spree_channable-0.0.22 db/migrate/20190711140015_add_payment_method_for_channable.rb
spree_channable-0.0.21 db/migrate/20190711140015_add_payment_method_for_channable.rb
spree_channable-0.0.20 db/migrate/20190711140015_add_payment_method_for_channable.rb
spree_channable-0.0.18.alpha db/migrate/20190711140015_add_payment_method_for_channable.rb