Merge pull request #2798 from as1729/as1729-update-docs-Stripe-publishable_key-for-pr

Better docs for Stripe.publishable_key and Stripe.endpoint_secret.
This commit is contained in:
Pau Pérez Fabregat
2018-10-24 11:23:21 +02:00
committed by GitHub

View File

@@ -4,6 +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 = <your_new_value>
attr_accessor :publishable_key, :endpoint_secret
end
end