Sha256: 82714c59b72bdaee9db27f73874b607246615caa0aaf3a17a4cc0ea27bce621c

Contents?: true

Size: 375 Bytes

Versions: 7

Compression:

Stored size: 375 Bytes

Contents

# frozen_string_literal: true

Rails.configuration.stripe = {
  publishable_key: ENV['STRIPE_PUBLISHABLE_KEY'],
  secret_key: ENV['STRIPE_SECRET_KEY']
}

Stripe.api_key = Rails.configuration.stripe[:secret_key]

Stripe.set_app_info('Rails PaidUp', version: PaidUp::VERSION, url: 'https://www.gemvein.com/museum/cases/paid_up')

Money.rounding_mode = BigDecimal::ROUND_HALF_UP

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
paid_up-0.13.21 config/initializers/stripe.rb
paid_up-0.13.17 config/initializers/stripe.rb
paid_up-0.13.16 config/initializers/stripe.rb
paid_up-0.13.14 config/initializers/stripe.rb
paid_up-0.13.13 config/initializers/stripe.rb
paid_up-0.13.12 config/initializers/stripe.rb
paid_up-0.13.11 config/initializers/stripe.rb