diff --git a/config/initializers/stripe.rb b/config/initializers/stripe.rb index 80a715b81f..d4dc8950e0 100644 --- a/config/initializers/stripe.rb +++ b/config/initializers/stripe.rb @@ -4,8 +4,8 @@ # a bit cleaner than accessing keys in different ways. module Stripe class << self - # Returns the value of Stripe.publishable_key and Stripe.endpoint_secret. - # Attribute values can also be set by doing Stripe.publishable_key = + # Returns the value of Stripe.publishable_key and Stripe.endpoint_secret. + # Attribute values can also be set by doing Stripe.publishable_key = attr_accessor :publishable_key, :endpoint_secret end end