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

Webhook support #141

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

Webhook support #141

wants to merge 9 commits into from

Conversation

arthurka-o
Copy link

Hi 👋
I needed a Twitch EventSub for my Rails app, so I decided to add webhook support for this gem.
It needs much more work, but it works for my case already.

My controller looks something like this and initializer something like this

It was my first time working on a Ruby gem (with a help of LLM), so there're probably (surely) some strange things.

From what I see already:

  • I imported ActiveSupport for a webhook handler, not a very nice thing for a ruby gem not related to Rails.
  • Tests
  • Probably good thing would be adding all possible even types and their conditions with returning data schemes
  • Squashing commits

I would need an advice of someone more experienced with Ruby gems to finish this

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.

1 participant