Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better docs for Stripe.publishable_key and Stripe.endpoint_secret. #2798

Conversation

as1729
Copy link
Contributor

@as1729 as1729 commented Sep 30, 2018

What? Why?

The change adds some additional documentation to attr_accessor functions.

What should we test?

No testing should be required.

Release notes

Added developer documentation.

Changelog Category: Added

Documentation updates

None required as far as I am aware.

@@ -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>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be worth also to mention Stripe.endpoint_secret = <your_new_value>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you like to address this comment @as1729? Then it can be approved and merged

@sauloperez
Copy link
Contributor

Thanks a lot for your contribution @as1729 and welcome to the Open Food Network! Don't hesitate to pick any good first issue and join us on Slack. Besides, in the README file you'll find everything you need to know.

@mkllnk
Copy link
Member

mkllnk commented Oct 23, 2018

@sauloperez Are you happy to approve this PR? @as1729 doesn't seem to be active any more.

@sauloperez
Copy link
Contributor

Yes, let's move it forward.

@sauloperez sauloperez merged commit 7651ee0 into openfoodfoundation:master Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants