mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
* manual changes * move eventNotification to v2 namespace * updated rbi * add tests * Add basic rbi * generate event data types * move some things, fix tests * add missing attributes * update gemspec, examples, and rbi * fix example
17 lines
363 B
Markdown
17 lines
363 B
Markdown
## Running an example
|
|
|
|
From the examples folder, run:
|
|
`RUBYLIB=../lib ruby your_example.rb`
|
|
|
|
e.g.
|
|
|
|
`RUBYLIB=../lib ruby event_notification_webhook_handler.rb`
|
|
|
|
## Adding a new example
|
|
|
|
1. Clone new_example.rb
|
|
2. Implement your example
|
|
3. Fill out the file comment. Include a description and key steps that are being demonstrated.
|
|
4. Run it (as per above)
|
|
5. 👍
|